LiveCloud Forums
First sync cloud to local - Printable Version

+- LiveCloud Forums (https://forums.livecloud.io)
+-- Forum: General (https://forums.livecloud.io/forumdisplay.php?fid=1)
+--- Forum: Getting Started (https://forums.livecloud.io/forumdisplay.php?fid=4)
+--- Thread: First sync cloud to local (/showthread.php?tid=440)



First sync cloud to local - Pebah - 07-14-2020

I've set up a table in LiveCloud Manager. Now I want to work with a local version of the same table. How do I create that local table that I will later sync back up to the cloud?


RE: First sync cloud to local - Linda Lu - 07-14-2020

You can make a call to cdb_sync with "cloud" as the pSource parameter. This will sync the cloud records of your table down to access a local version of them and allow you to make CDB calls such as read or create with a pTarget of "local."