Commits

Anonymous committed 6a06d89

updating api docs

Comments (0)

Files changed (1)

 	application:start(emongo).
 	emongo:add_pool(pool1, "localhost", 27017, "testdatabase", 1).
 	
-## API
-
-#### Types
+## API Type Reference
 
 PoolName = atom()  
 Host = string()  
 Val = float() | string() | binary() | Document | {array, [term()]} | {binary, BinSubType, binary()} | {oid, binary()} | {oid, string()} | bool() | now() | datetime() | undefined | {regexp, string(), string()} | integer()  
 BinSubType = integer() <http://www.mongodb.org/display/DOCS/BSON#BSON-noteondatabinary>  
 
-#### Add Pool
+## Add Pool
 
 	emongo:add_pool(PoolName, Host, Port, Database, PoolSize) -> ok
 
-#### Find
+## Find
 	
 Options = {timeout, Timeout} | {limit, Limit} | {offset, Offset} | {orderby, Orderby} | {fields, Fields} | response_options  
 Timeout = integer (timeout in milliseconds)