demos/moviedb/demo-jquery.js
function selectAllMovies() {
  var movie = db.getSchema().table('Movie');
  db.select(movie.id, movie.title, movie.year).
      from(movie).exec().then(
      function(results) {
        var elapsed = Date.now() - startTime;
        $('#load_time').text(elapsed.toString() + 'ms');
        $('#master').bootstrapTable('load', results).
            on('click-row.bs.table', function(e, row, $element) {
              startTime = Date.now();
              generateDetails(row.id);
            });
      });
}
function selectAllMovies() {
  var movie = db.getSchema().table('Movie');
  db.select(movie.id, movie.title, movie.year).
      from(movie).exec().then(
      function(results) {
        var elapsed = Date.now() - startTime;
        $('#load_time').text(elapsed.toString() + 'ms');
        $('#master').bootstrapTable('load', results).
            on('click-row.bs.table', function(e, row, $element) {
              startTime = Date.now();
              generateDetails(row.id);
            });
      });
}
function selectAllMovies ( ) { var movie = db . getSchema ( ) . table ( 'Movie' ) ; db . select ( movie . id , movie . title , movie . year ) . from ( movie ) . exec ( ) . then ( function ( results ) { var elapsed = Date . now ( ) - startTime ; $ ( '#load_time' ) . text ( elapsed . toString ( ) + 'ms' ) ; $ ( '#master' ) . bootstrapTable ( 'load' , results ) . on ( 'click-row.bs.table' , function ( e , row , $element ) { startTime = Date . now ( ) ; generateDetails ( row . id ) ; } ) ; } ) ; }
Selects all movies.
Selects all movies .