Skip to main content

MongoDB,Mongoose,Nodejs,Object id -


i trying query based on time stamp in object id,saw posting below can query mongodb objectid date? not work mongoose driver.does knows way .it complains no reference objectid

mongodb,mongoose,nodejs,object id - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

i trying query based on time stamp in object id,saw posting below can query mongodb objectid date? not work mongoose driver.does knows way .it complains no reference objectid

share|improve question
    
can post code unsuccessful query attempt? – johnnyhk jul 7 '12 @ 4:06
1  
a similar approach javascript 1 should work in mongoose, based on timestamp makes first 4 bytes of generated objectid. – stennie jul 9 '12 @ 1:27

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -