dev-master
9999999-devClass to proxy Aura Sql and Query methods
BSD
The Requires
The Development Requires
by Moshe Brevda
Class to proxy Aura Sql and Query methods
As of v2, Aura Sql and Aura SqlQuery have been decoupled. This project attempts to offer a single interface from which a new ExtendedPdo
class can be instantiated and also offer chainable access to Sql Query, including chainable exec()
and fetch()
., (*2)
here is a bear bones example of how to use the class:, (*3)
<?php include(__DIR__ . '/vendor/autoload.php'); use \Mbrevda\Queryproxy\Db; $db = new Db('sqlite::memory:', '', ''); $q = $db->select() ->cols(['*']) ->from('sometable') ->fetchAll(); print_r($q);
Class to proxy Aura Sql and Query methods
BSD