2017 © Pedro Peláez
 

libraty sweeter-fetch

Sweeter-fetch, a wrapper of PDO. Procedure oriented, pre process, as supplement of ORM.

image

qdladoooo/sweeter-fetch

Sweeter-fetch, a wrapper of PDO. Procedure oriented, pre process, as supplement of ORM.

  • Monday, July 3, 2017
  • by dlad
  • Repository
  • 1 Watchers
  • 2 Stars
  • 25 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Sweeter-fetch - a database fetching library

Wrapper for PDO., (*1)

Procedure oriented, Pre process, As supplement of ORM., (*2)

Build Status Latest Stable Version Latest Unstable Version License, (*3)

Installation

composer require qdladoooo/sweeter-fetch

Initialization

require "../vendor/autoload.php";
use SweeterFetch\SweeterFetch;

$sf = new SweeterFetch('host', 'username', 'password');

Use

Execute none query, (*4)

//return nothing
$sf->Enq('use candy_shop;');

Execute query, (*5)

//return [row1, row2, ...]
$sf->Eq($sql);

Execute one row, (*6)

//return the first row by array
$sf->Eor($sql);

Execute column, (*7)

//return a column
$sf->Ec($sql);

Execute scalar, (*8)

//return a number
$sf->Es($sql);

License

The Sweeter-fetch is open-sourced software licensed under the MIT license., (*9)

The Versions

03/07 2017

dev-master

9999999-dev

Sweeter-fetch, a wrapper of PDO. Procedure oriented, pre process, as supplement of ORM.

  Sources   Download

MIT

The Requires

  • ext-pdo *
  • php ^7.0

 

The Development Requires

fetch pdo wrapper sweeter

08/06 2016

v0.2

0.2.0.0

Sweeter-fetch, a wrapper of PDO. Procedure oriented, pre process, as supplement of ORM.

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-pdo *

 

The Development Requires

fetch pdo wrapper sweeter

07/06 2016

v0.1

0.1.0.0

Sweeter-fetch, a wrapper of PDO. Procedure oriented, pre process, as supplement of ORM.

  Sources   Download

MIT

The Requires

  • php ^7.0
  • ext-pdo *

 

The Development Requires

fetch pdo wrapper sweeter