Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 426
» Latest member: lruiz23
» Forum threads: 346
» Forum posts: 1,180

Full Statistics

Online Users
There are currently 70 online users.
» 0 Member(s) | 68 Guest(s)
Baidu, Bing

Latest Threads
Apollo Neuro Coupon Code:...
Forum: Getting Started
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 4
Apollo Neuro Promo Code $...
Forum: Getting Started
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 2
Where to Enter Apollo Neu...
Forum: Getting Started
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 2
Apollo Neuro Discount Cod...
Forum: Getting Started
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 2
Apollo Neuro Discount Cod...
Forum: Code Samples
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 7
Daily Calm with Apollo Ne...
Forum: Code Samples
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 2
Apollo Neuro Coupon Code ...
Forum: Code Samples
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 2
Fix Your Circadian Rhythm...
Forum: Code Samples
Last Post: wax9090z
11 hours ago
» Replies: 0
» Views: 2
Insta360 Promo Code [INRS...
Forum: Code Samples
Last Post: likam789
Yesterday, 09:17 AM
» Replies: 0
» Views: 5
Insta360 Discount Coupon ...
Forum: Introduce Yourself
Last Post: likam789
Yesterday, 09:15 AM
» Replies: 0
» Views: 6

 
  Function: AddKeys (clarification)
Posted by: Paul - 04-26-2019, 05:52 PM - Forum: Getting Started - Replies (1)

This is the example from documentation: https://docs.livecloud.io/AddKeys/ 

Quote:local tTable, tKeys

# Table name: clients
# Keys: firstName, lastName, age, income

put "clients" into tTable
put "occupation,address" into tKeys

cdb_addKeys tTable,tKeys 

It looks like the table, Clients, already has fields, occupation and address, and this command is initializing them as keys. Is this correct?
I'm a little confused by the comment, # Keys: firstName, lastName, age, income. Does that imply these were previously set as keys?

When defining keys in this way, field values are sorted as text. Correct? Are numeric keys currently supported?


  In-Memory vs Blob Storage
Posted by: Paul - 04-26-2019, 01:51 AM - Forum: Getting Started - Replies (1)

Quote:The in-memory allocation is 500 MB. This is the amount of space allotted to the 'Rain' account for queryable data. This space may be spread out over different instances on different servers in a given region. The 20 GB of blob space is stored differently. We use the Digital Ocean Spaces object storage for this feature. This data is not queryable. It is useful for large chunks of data like pictures, video, PDF, etc.

Interesting. Would the address of the blob object, then be stored in memory, as a field in a table? Would this be an internal address or a public URL? Does this mean that all the contents of all tables that have keys, must be stored in the 500 MB area?

In the event of an overflow, (more than 500 MB) would the least used tables be cached out the the hard drive? Or would an account upgrade be required?


  Create & Update (field types)
Posted by: Paul - 04-26-2019, 12:10 AM - Forum: Getting Started - Replies (1)

Looking at the Batch update, I see this code:

## Update Jenny's record
put "47" into tDataA[tClientsTableID]["87654321-abcd-1234-cdef-1234567890ab"]["age"]
put "110000" into tDataA[tClientsTableID]["87654321-abcd-1234-cdef-1234567890ab"]["income"]

It looks like that long UUID references Jenny's account. Which would be available after the user logs in.
But what's that reference to tClientsTableID? Could it be the table where "age" and "income" are stored?
Maybe. But you wouldn't name a table "tClientsTableID". So I'm probably wrong.

Question: If I have a record with many fields, does the whole record get written over or just the field or fields I'm updating? 

Question: Does this mean fields don't have an intrinsic type and store everything as a string? (or text) Numbers too?


  Notepad Example (Questions)
Posted by: Paul - 04-25-2019, 11:34 PM - Forum: Getting Started - Replies (6)

I've been studying the NotePad example. 

1- In design mode, I clicked on the little Disk icon and then right click, Edit script. Looking for the code that did the actual saving nothing was there. The Save button works fine. If I don't press Save, the data is not saved. But where's the code?

2- Also, looking around at what code I could find, mosting in the Stack Initialization area, there seems to be lots of references to Behaviors. Is this something I need to read up and understand to utilize CanelaDB


  Free trial
Posted by: simon.schvartzman - 04-25-2019, 07:58 PM - Forum: General - Replies (5)

Hi, I already own a LC Indy license and would like to try Livecloud. Have you considered to enable a free version, let say with a limit in the number of records, or a time limit, whatever...

I guess it will be really appealing  for the LC community...

Looking forward for a positive response.

Regards, Simon


  Compatible LC versions
Posted by: sturgis - 04-24-2019, 10:06 PM - Forum: Getting Started - Replies (6)

I just bought the bundle, and the only part of the purchase that actually seems to have worked is the coupon for livecloud.  I have a support request in with livecode, but until that is resolved I cannot activate the indy version of LC that was part of the bundle.   I see that one of the inclusions needed is tsnet.  Until my LC activation issues can be worked out, is there a chance that livecloud will work with lc community or community plus?