• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About CDBCache behaviour
#1
Hi, I have the following doubt for which I would appreciate a clarification.

According to the documentation:

"...any time your users lose their internet connection, CanelaDB will cache this transaction. The transactions are saved even if the application shuts down, so you never have to worry about missing your cloud calls."

I don't get when the cached transactions will be written to the cloud. In other words will this happen the next time the user launches the application or...?

Many thanks in advance
To ";" or not to ";" that is the question
  Reply
#2
Hi Simon,

Any cloud call that modifies data will be cached if the user is offline. The cache will automatically be written to the cloud once the user is back online and makes any cloud call that modifies data. Alternatively, you can use cdb_flushCache to manually write all the transactions in the cache to the cloud whenever you want.
  Reply
#3
(08-09-2019, 05:59 PM)efrain.c Wrote: Hi Simon,

Any cloud call that modifies data will be cached if the user is offline. The cache will automatically be written to the cloud once the user is back online and makes any cloud call that modifies data. Alternatively, you can use cdb_flushCache to manually write all the transactions in the cache to the cloud whenever you want.

Thanks Efrain, got it.

Best
To ";" or not to ";" that is the question
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)