DB_Connection_Installer __construct(
ADODB_Connection
$conn
)
|
|
Constructor
Parameters:
Redefinition of:
- DB_Connection::__construct()
- Constructor
void execute(
string
$sql
)
|
|
Executes SQL statemen
Parameters:
API Tags:
Information Tags:
| Throws: | TE_DBC |
| Throws: | TE_DBC_SQL_Failed |
Redefinition of:
- DB_Connection::execute()
- Executes SQL statemnt
integer generate_id(
string
$sequence_name, [integer
$start = 1]
)
|
|
Generates ID
Parameters:
|
string |
$sequence_name: |
Name of the sequence that will be used (for MySQL where sequences are not available - name of the db table that fakes the sequence) |
|
integer |
$start: |
Starting value of the sequence (will be used only if sequence does not exist yet, i.e. for initialization) |
API Tags:
| Return: | Generated ID |
| Access: | public |
Redefinition of:
- DB_Connection::generate_id()
- Generates next id from sequence
void query(
string
$sql
)
|
|
Alias of execute
Parameters:
API Tags:
Redefinition of:
- DB_Connection::query()
- Alias of execute()
void select_limit(
unknown_type
$sql, unknown_type
$num_rows, unknown_type
$offset
)
|
|
Fake
Parameters:
|
unknown_type |
$sql: |
|
|
unknown_type |
$num_rows: |
|
|
unknown_type |
$offset: |
|
API Tags:
Redefinition of:
- DB_Connection::select_limit()
- Selects limited ammount of rows