Quick reference
Where Sqli() accepts an SQL statement as a variable, Dba() allows you to build a query programatically using chained methods. The following queries would return the same results.
The shorthand database instance Dbi() can be used as a static function like this:
Extend your object models on Dbi().
Last updated