#CIMongoDB - Codeigniter-mongodb-library
Wiki:https://fifths.github.com/mongodb-library-for-codeigniter.html
#Methods
##Insert Method
insert
Insert a new document into a collection
##Select Method
select
Get select fields from returned documentswhere
ORget_where
Where section of the querywhere_in
Where something is in an array of somethingwhere_in_all
Where something is in all of an array of * somethingwhere_not_in
Where something is not in array of somethingwhere_or
Where something is based on orwhere_gt
Where something is greater than somethingwhere_gte
Where something is greater than or equal to somethingwhere_lt
Where something is less than somethingwhere_lte
Where something is less than or equal to somethingwhere_between
Where something is in between to somethingwhere_between_ne
Where something is in between and but not equal to somethingwhere_ne
Where something is not equal to somethinglike
Where something is search by like queryorder_by
Order the resultslimit
ORoffset
Limit the number of returned resultscount
Document Count based on where queryfind_one
Retrieve single document from collection
##Update Method
set
Sets a field to a valueunset_field
Unsets a fieldaddtoset
Adds a value to an array if doesn't existpush
Pushes a value into an array fieldpop
Pops a value from an array fieldpull
Removes an array by the value of a fieldrename_field
Rename a fieldinc
Increments the value of a fieldmul
Multiple the value of a fieldmax
Updates the value of the field to a specified value if the specified value is greater than the current value of the fieldmin
Updates the value of the field to a specified value if the specified value is less than the current value of the field.update
Update a single document in a collection
##Delete Method
delete
Delete a single document in a collection
##DB Method
switch_db
Switch to a different database
##Extra Helper
date
Create or convert date to MongoDB based Datetimestamp
Create or convert Timestamp to MongoDB based Timestamp