The query builder provides a set of methods to build queries for the database. Before you get started with the Query Builder, make sure you configured the database.
As you can see, the Query Builder creates prepared statements in order to avoid SQL Injection.
If you want to create a where statements that compares the values with the equal
, you can use the shorter
version of the where
method:
Inserting one row
Inserting many rows
Update single column
Update multiple columns
Conditional update
Delete entire table
Delete specific rows