Method |
Description |
|
_compile_select ( $select_override = FALSE ) : string |
Compile the SELECT statement |
|
_create_alias_from_table ( $item ) : string |
Determines the alias name based on the table |
|
_having ( $key, $value = '', $type = 'AND ', $escape = TRUE ) : object |
Sets the HAVING values |
|
_like ( $field, $match = '', $type = 'AND ', $side = 'both', $not = '' ) : object |
Like |
|
_max_min_avg_sum ( $select = '', $alias = '', $type = 'MAX' ) : object |
Processing Function for the four functions above: |
|
_merge_cache ( ) : void |
Merge Cache |
|
_object_to_array ( $object ) : array |
Object to Array |
|
_object_to_array_batch ( $object ) : array |
Object to Array |
|
_reset_run ( $ar_reset_items ) : void |
Resets the active record values. Called by the get() function |
|
_reset_select ( ) : void |
Resets the active record values. Called by the get() function |
|
_reset_write ( ) : void |
Resets the active record "write" values. |
|
_track_aliases ( $table ) : string |
Track Aliases |
|
_where ( $key, $value = NULL, $type = 'AND ', $escape = NULL ) : object |
Where |
|
_where_in ( $key = NULL, $values = NULL, $not = FALSE, $type = 'AND ' ) : object |
Where_in |
|
count_all_results ( $table = '' ) : string |
"Count All Results" query |
|
dbprefix ( $table = '' ) : string |
DB Prefix |
|
delete ( $table = '', $where = '', $limit = NULL, $reset_data = TRUE ) : object |
Delete |
|
distinct ( $val = TRUE ) : object |
DISTINCT |
|
empty_table ( $table = '' ) : object |
Empty Table |
|
flush_cache ( ) : void |
Flush Cache |
|
from ( $from ) : object |
From |
|
get ( $table = '', $limit = null, $offset = null ) : object |
Get |
|
get_where ( $table = '', $where = null, $limit = null, $offset = null ) : object |
Get_Where |
|
getwhere ( $table = '', $where = null, $limit = null, $offset = null ) |
getwhere() is an alias of get_where()
this function is here for backwards compatibility, as
getwhere() has been deprecated |
|
group_by ( $by ) : object |
GROUP BY |
|
groupby ( $by ) |
groupby() is an alias of group_by()
this function is here for backwards compatibility, as
groupby() has been deprecated |
|
having ( $key, $value = '', $escape = TRUE ) : object |
Sets the HAVING value |
|
insert ( $table = '', $set = NULL ) : object |
Insert |
|
insert_batch ( $table = '', $set = NULL ) : object |
Insert_Batch |
|
join ( $table, $cond, $type = '' ) : object |
Join |
|
like ( $field, $match = '', $side = 'both' ) : object |
Like |
|
limit ( $value, $offset = '' ) : object |
Sets the LIMIT value |
|
not_like ( $field, $match = '', $side = 'both' ) : object |
Not Like |
|
offset ( $offset ) : object |
Sets the OFFSET value |
|
or_having ( $key, $value = '', $escape = TRUE ) : object |
Sets the OR HAVING value |
|
or_like ( $field, $match = '', $side = 'both' ) : object |
OR Like |
|
or_not_like ( $field, $match = '', $side = 'both' ) : object |
OR Not Like |
|
or_where ( $key, $value = NULL, $escape = TRUE ) : object |
OR Where |
|
or_where_in ( $key = NULL, $values = NULL ) : object |
Where_in_or |
|
or_where_not_in ( $key = NULL, $values = NULL ) : object |
Where_not_in_or |
|
order_by ( $orderby, $direction = '' ) : object |
Sets the ORDER BY value |
|
orderby ( $orderby, $direction = '' ) |
orderby() is an alias of order_by()
this function is here for backwards compatibility, as
orderby() has been deprecated |
|
orhaving ( $key, $value = '', $escape = TRUE ) |
orhaving() is an alias of or_having()
this function is here for backwards compatibility, as
orhaving() has been deprecated |
|
orlike ( $field, $match = '', $side = 'both' ) |
orlike() is an alias of or_like()
this function is here for backwards compatibility, as
orlike() has been deprecated |
|
orwhere ( $key, $value = NULL, $escape = TRUE ) |
orwhere() is an alias of or_where()
this function is here for backwards compatibility, as
orwhere() has been deprecated |
|
replace ( $table = '', $set = NULL ) |
|
|
select ( $select = '*', $escape = NULL ) : object |
Select |
|
select_avg ( $select = '', $alias = '' ) : object |
Select Average |
|
select_max ( $select = '', $alias = '' ) : object |
Select Max |
|
select_min ( $select = '', $alias = '' ) : object |
Select Min |
|
select_sum ( $select = '', $alias = '' ) : object |
Select Sum |
|
set ( $key, $value = '', $escape = TRUE ) : object |
The "set" function. Allows key/value pairs to be set for inserting or updating |
|
set_insert_batch ( $key, $value = '', $escape = TRUE ) : object |
The "set_insert_batch" function. Allows key/value pairs to be set for batch inserts |
|
set_update_batch ( $key, $index = '', $escape = TRUE ) : object |
The "set_update_batch" function. Allows key/value pairs to be set for batch updating |
|
start_cache ( ) : void |
Start Cache |
|
stop_cache ( ) : void |
Stop Cache |
|
truncate ( $table = '' ) : object |
Truncate |
|
update ( $table = '', $set = NULL, $where = NULL, $limit = NULL ) : object |
Update |
|
update_batch ( $table = '', $set = NULL, $index = NULL ) : object |
Update_Batch |
|
where ( $key, $value = NULL, $escape = TRUE ) : object |
Where |
|
where_in ( $key = NULL, $values = NULL ) : object |
Where_in |
|
where_not_in ( $key = NULL, $values = NULL ) : object |
Where_not_in |
|