Abstract Class dbtablemod

Description

DB tablemod class Parent class for classes which only modify a single table. This means either update or inserts. This class is provided so we can define a common method for sequence definition.

  • abstract:

Located in /query-defs.php (line 984)

sqlquery
   |
   --dbquery
      |
      --dbtablemod
Direct descendents
Class Description
 class dbinsert DB Insert class A special case of the dbtablemod class.
 class dbupdate DB Update class A special case of the dbquery class. This is for updating data in particular rows in the database.
Method Summary
 dbtablemod dbtablemod (string $table)
 void next_sequencevalue (mixed $sequencename, mixed $column)
Variables
Methods
Constructor dbtablemod (line 991)

Constructor Create a new DB Insert object. This is for inserting a record into the database.

dbtablemod dbtablemod (string $table)
  • string $table: Table to modify, mandatory parameter.
next_sequencevalue (line 1002)

Set the next sequence value for a column, using either a named sequence or, if that is nullstring or the underlying DB does not support sequences, other means. See the next_sequencevalue() method in the underlying DB module db-xxxx.php.

void next_sequencevalue (mixed $sequencename, mixed $column)

Inherited Methods

Inherited From dbquery

 dbquery::dbquery()
 dbquery::execute()
 dbquery::set_sql()
 dbquery::tidyup()

Inherited From sqlquery

 sqlquery::sqlquery()
 sqlquery::build()
 sqlquery::clear()
 sqlquery::fieldlist()
 sqlquery::from()
 sqlquery::groupby()
 sqlquery::into()
 sqlquery::limit()
 sqlquery::offset()
 sqlquery::orderby()
 sqlquery::rebuild()
 sqlquery::set()
 sqlquery::tables()
 sqlquery::where()

Documentation generated by phpDocumentor 1.3.0RC3