A CodeIgniter library that interfaces with MongoDB through Active Record functions.
load ([$group|$DSN|$config, true|false])
platform ()
version ()
get ([$table, $limit, $offset])
get_where ($table, $where, $limit, $offset)
select ($fields)
from ($table)
where ($field|$array($field=>$value, ...)[, $value])
or_where ^^
where_in ($field, $array)
or_where_in ^^
where_not_in ^^
or_where_not_in ^^
like ($field, $match[, before|after|both])
or_like ^^
not_like ^^
or_not_like ^^
limit ($limit, $offset)
order_by ($field|$fields[, $order])
count_all_results ()
count_all ($table)
result ()
result_array ()
row ([$n])
row_array ^^
first_row ()
previous_row ()
next_row ()
last_row ()
num_rows ()
num_fields ()
set ($field|$data, $value])
insert ([$table, $data])
update ([$table, $data, $where])
delete ([$table, $where])
empty_table ($table)
truncate ($table)
list_tables ()
table_exists ($table)
insert_id
affected_rows
All functions
All functions
All functions
select_min
select_max
select_avg
select_sum
join
group_by
distinct
having
or_having
*free_result