Syntax
Arguments
List of arguments to provide.Name of the database to select. Must be a valid database name. If not defined, the default
database is selected.
Optargs
No optional arguments.Returns
The query builder object for database operations.
Behavior
- In contrast to the 
tablefunction, this function does not return all tables in the database if called asr.db('myDb').run(client). 
Notes & Caveats
No notes.Example
Filter orders from the UAE in the default database
Filter for orders in theorders table where the order’s shipping address country is UAE, where the country is a nested field of address.
Select payments from the finance database
Filter for payments in thepayments table where the amount is greater than or equal to 100.
Related Functions
r- Referencing the query builderconnect- Connecting to RuloDBdisconnect- Disconnecting from RuloDBdbCreate- Creating a databasedbDrop- Dropping a databasedbList- Listing databases
Found a typo? Or maybe a broken link? RuloDB is open-source, help us fix it!

