Bouncy Melons 0.2
declarative style orm
Public Member Functions
IDriver Interface Reference
Inheritance diagram for IDriver:
MysqlDriver SqliteDriver

Public Member Functions

 __construct (\PDO $pdo)
 
 getTableFields ($table)
 
 insertOrUpdate ($table, $items)
 
 createViewAs ($view, $sql)
 
 truncate ($table)
 

Detailed Description

Definition at line 5 of file IDriver.php.

Constructor & Destructor Documentation

__construct ( \PDO  $pdo)

Member Function Documentation

createViewAs (   $view,
  $sql 
)

Implemented in MysqlDriver, and SqliteDriver.

getTableFields (   $table)
Parameters
String$tabletable name
Returns
array array of fields like [['field=>'fieldName','type'=>'fieldType'],[..],..]

Implemented in MysqlDriver, and SqliteDriver.

insertOrUpdate (   $table,
  $items 
)

Implemented in MysqlDriver, and SqliteDriver.

truncate (   $table)

Implemented in MysqlDriver, and SqliteDriver.


The documentation for this interface was generated from the following file: