Retrieving Results
Retrieving All Rows From A Table
// qb
var getAllResults = query.from( "users" ).get();
writeDump( getAllResults );
// sql
// select * from users
// more qb examples
var getAllResults = query.from( "users" )
.get(
columns = [ "Id", "Name" ],
options = { datasource = "myAdditionalDatasource" }
);public any function get( any columns, struct options = {} )Retrieving A Single Row / Column From A Table
Options parameter: Retrieving results from alternative datasources
Last updated
Was this helpful?