Skip to content

Simple mysql query builder to build select, insert, update and delete queries with conditional parts.

Notifications You must be signed in to change notification settings

rkrx/php-mysql-query-builder

Repository files navigation

mysql query builder (php 8.0+)

Scrutinizer Code Quality Build Status Latest Stable Version License

Simple mysql query builder to build select, insert, update and delete queries with conditional parts. This library was initially not intended to build prepared statements, but this is also possible. The main motive for this library is an environment where a lot of things are automated.

Here a few things to keep in mind:

  • The charset is up to you. No special binding to UTF8, although UTF8 is the default.
  • You're allowed to nest most queries to build big and powerful queries.
  • The order of method-calls of each statement-builder is irrelevant. The resulting query will always render the right order.

Some simplified examples

Some extended examples

About

Simple mysql query builder to build select, insert, update and delete queries with conditional parts.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages