2017 © Pedro Peláez
 

library aurasql-queryproxy

Class to proxy Aura Sql and Query methods

image

mbrevda/aurasql-queryproxy

Class to proxy Aura Sql and Query methods

  • Wednesday, July 22, 2015
  • by mbrevda
  • Repository
  • 2 Watchers
  • 5 Stars
  • 4,031 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

AuraSql Query Proxy

wercker status, (*1)

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)

Usage

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);

The Versions

22/07 2015

dev-master

9999999-dev

Class to proxy Aura Sql and Query methods

  Sources   Download

BSD

The Requires

 

The Development Requires

by Moshe Brevda