Silla.IO API
  • Namespace
  • Class
  • Tree
  • Todo
  • Download

Namespaces

  • App
    • Controllers
  • CMS
    • Controllers
    • Helpers
    • Models
  • Configurations
    • CI
    • Development
    • Production
    • Staging
  • Core
    • Base
    • CLI
      • Cache
      • DB
    • Helpers
    • Modules
      • Cache
        • Adapters
        • Interfaces
      • Crypt
      • DB
        • Adapters
        • Decorators
          • Interfaces
        • Features
          • Paginator
        • Interfaces
      • Registry
      • Render
        • Adapters
        • Interfaces
      • Router
      • Session
        • Adapters
        • Interfaces
  • None
  • Tasks
    • DB

Interfaces

  • Adapter
  • Decorator
  • Observer

Interface Adapter

Database driver interface definition.

Direct known implementers

Core\Modules\DB\Adapters\MySQL, Core\Modules\DB\Adapters\MySQLi, Core\Modules\DB\Adapters\PdoMySql, Core\Modules\DB\Adapters\SQLite

Namespace: Core\Modules\DB\Interfaces
Located at modules/db/interfaces/adapter.php

Methods summary

public mixed
# storeQueries( string $query, array $params = array() )

Queries storage method.

Queries storage method.

Parameters

$query
Query string.
$params
Query parameters.

Returns

mixed
public mixed
# run( Core\Modules\DB\Query $query )

Run method.

Run method.

Parameters

$query
Current query object.

Returns

mixed
public mixed
# execute( string $sql, array $bind_params = array() )

Execution method.

Execution method.

Parameters

$sql
Query string.
$bind_params
Query parameters.

Returns

mixed
public mixed
# setCharset( string $charset )

Character set method.

Character set method.

Parameters

$charset
Charset type string.

Returns

mixed
public mixed
# getTables( string $schema )

Retrieval of tables method.

Retrieval of tables method.

Parameters

$schema
Schema contents.

Returns

mixed
public mixed
# getTableSchema( string $table, mixed $schema )

Retrieval of table schema method.

Retrieval of table schema method.

Parameters

$table
Table name.
$schema
Table schema contents.

Returns

mixed
public integer
# getLastInsertId( )

Retrieval of last instered id from the storage engine.

Retrieval of last instered id from the storage engine.

Returns

integer
public mixed
# clearTable( string $table )

Table clearance method.

Table clearance method.

Parameters

$table
Table name.

Returns

mixed
public static array
# getSupportedJoinTypes( )

Retrieves all supported types of JOIN.

Retrieves all supported types of JOIN.

Returns

array
Silla.IO API API documentation generated by ApiGen