Kajona\System\System\Db\DbBase

Base class for all database-drivers, holds methods to be used by all drivers

Synopsis

class DbBase implements DbDriverInterface {
}

Hierarchy

Members

protected

  • $arrStatementsCache

Methods

public

  • addColumn() — Adds a column to a table
  • changeColumn() — Renames a single column of the table
  • encloseColumnName() — Allows the db-driver to add database-specific surrounding to column-names.
  • encloseTableName() — Allows the db-driver to add database-specific surrounding to table-names.
  • escape()
  • flushQueryCache() — A method triggered in special cases in order to have even the caches stored at the db-driver being flushed.
  • getPArraySection() — Returns just a part of a recordset, defined by the start- and the end-rows, defined by the params. Makes use of prepared statements.
  • removeColumn() — Removes a column from a table
  • renameTable() — Renames a table
  • triggerMultiInsert() — Creates a single query in order to insert multiple rows at one time.