• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick question re: primary keys
#1
Hi all,

quick question about primary keys - in particular, creating these. 
I know the standard methods will automatically create primary keys - but is it possible to supply these yourself at record creation?

The scenario i have in mind is that you can generate a set of multidimensional arrays in LiveCode and these would link to each other with primary/foreign keys which i create in LiveCode with UUID(). So far so good.

As far as i can see however there isn't a way to supply these keys to LiveCloud to use in place of the automatically generated cdbRecordID.
Not a major showstopper but does add an unnecessary layer of complexity retrieving records as I'd have to manage a 'PrimaryKey' field on top of the cdbRecordID field...

Unless i'm missing a something major?  Very happy to be corrected Smile
  Reply


Messages In This Thread
Quick question re: primary keys - by stamatis - 09-06-2020, 02:17 PM
RE: Quick question re: primary keys - by efrain.c - 09-08-2020, 04:37 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)