📄️ Find a record by ID
To find a record by ID use the .where method with the = operator as follows.
📄️ Find multiple records by ID
To find multiple records by ID we can use the SQL IN operator as follows:
📄️ JOIN example
We support several types of JOINs. In this example we're doing a leftJoin.
📄️ Find all records matching a condition
In this example we're using .where to find all users whose age is > 18.