Class: atkOci8Query
Source Location: /db/class.atkoci8query.inc
Class atkOci8Query
Method Summary
| String |
substringCondition() |
Generate a searchcondition that checks whether $field contains $value . |
Methods
atkQuery &addJoin(
string
$table, string
$alias, string
$condition, bool
$outer
)
|
|
Makes a Join SQL query for Oracle
Parameters:
|
string |
$table: |
Table name |
|
string |
$alias: |
Alias for the table |
|
string |
$condition: |
Condition for the join |
|
bool |
$outer: |
Wether to use an outer (left) join or an inner join |
API Tags:
| Return: | The query object (for fluent usage). |
Redefinition of:
- atkQuery::addJoin()
- Add join to Join Array
Redefined in descendants as:
String substringCondition(
String
$field, String
$value
)
|
|
Generate a searchcondition that checks whether $field contains $value .
This override adds special support for comparisons using a subquery instead of a table field. Oracle doesn't allow direct UPPER(...) calls on the subquery result so we need to wrap it inside a select query from dual. To prevent perform loss we try to detect if the comparison field is a subquery or not.
Parameters:
|
String |
$field: |
The field |
|
String |
$value: |
The value |
API Tags:
| Return: | The substring condition |
Redefinition of:
- atkQuery::substringCondition()
- Generate a searchcondition that checks whether $field contains $value .
void _addLimiter(
&$query, String
$query
)
|
|
Add limiting clauses to the query.
Default implementation: no limit supported. Derived classes should implement this.
Parameters:
|
String |
$query: |
The query |
|
|
&$query: |
|
Redefinition of:
- atkQuery::_addLimiter()
- Add limiting clauses to the query.