Skip to content

Codeigniter library for interact with mongoDB using CI Active Record style methods

Notifications You must be signed in to change notification settings

Se7en-IT/cimongo-codeigniter-mongodb-library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A CodeIgniter library for interact with MongoDb.


Inspired by https://github.com/alexbilbie/codeigniter-mongodb-library

A bit more explained documentation will be soon available.

Install like every other CI library

--Under development---

Available Functions

Selecting Data

get					
get_where		

select				

where				
or_where			
where_in		
or_where_in

like			
or_like				
not_like		
or_not_like			

limit	
offset

order_by			

count_all_results	
count_all			

Query Results

result				
result_array		
result_object		

row					
row_array			

Result Helper

num_rows		

Modifying Data

set					
insert				
insert_batch		
update				
update_batch		
delete				

Extra methods

command
ensure_index
remove_index
remove_all_indexes
list_indexes
get_dbref
create_dbref
where_gt
where_gte
where_lt
where_lte
where_between
where_between_ne
where_ne
where_near
inc
dec
unset_field
add_to_set
push
push_all
pull
pull_all
pop
rename_field

About

Codeigniter library for interact with mongoDB using CI Active Record style methods

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%