¡@

Home 

javascript Programming Glossary: db.get

Cronjobs in node.js

http://stackoverflow.com/questions/5636051/cronjobs-in-node-js

j var id j._id setInterval j.dueDate Date.now function db.getOne Job _id id function j require j.job j.finished true j.save.. j null On start up you just have to do something like db.get Job finished false function jobs jobs.forEach runJob Replace..

How does Asynchronous Javascript Execution happen? and when not to use return statement?

http://stackoverflow.com/questions/7104474/how-does-asynchronous-javascript-execution-happen-and-when-not-to-use-return-st

to use return statement synchronous Javascript var result db.get 'select from table1' console.log 'I am syncronous' asynchronous.. console.log 'I am syncronous' asynchronous Javascript db.get 'select from table1' function result do something with the result.. in asynchronous code console.log executes before the db.get fetches the result. Now my question is how does the execution..