Queries can also be cached by including a "cache" option with the same parameters as Myna.Cache()
//cache employee information for 12 hours
var qry=new Myna.Query({
ds:"hr_ds",
sql:"select * from employees",
cache:{
refreshInterval:Date.getInterval(Date.HOUR,12)
}
})
--
You received this message because you are subscribed to the Google Groups "MynaJS-General" group.
To post to this group, send email to mynajs-...@googlegroups.com.
To unsubscribe from this group, send email to mynajs-genera...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mynajs-general?hl=en.