waryway/mysql-query-builder

A object based query builder

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/waryway/mysql-query-builder

dev-master 2019-09-08 16:42 UTC

This package is auto-updated.

Last update: 2025-10-09 15:13:58 UTC


README

Object based query builder - because ORM's aren't always the right answer. Build Status

instructions

  • do the composer thing.
  • Build queries how almost you normally would - just dump them into the QueryObject.

example

The following example builds a simple query. More specific examples can be found in the QueryObject test!

$queryString = 'select * from some_table where some_table.sky = \'blue\';';
$rawQuery = new QueryObject();
$rawQuery->BuildAdd($queryString);
$rawQuery->toSql(),