Database

Sprnva has a query builder that is flexible and easy enough to use. Sprnva database connection uses PDO and you don't have to do anything.

The database connection and querybuilder instance is accessible using the DB() helper.

Sprnva query builder has:

  • select

  • selectLoop

  • insert

  • update

  • delete

  • query

  • seeder

  • with

  • andFilter

  • withCount

  • get

How to use this database querybuilder?

Declare the querybuilder and connection instance first then the method.

Last updated