LiveCloud Forums
What is the purpose of the "schema mode of tables" - Printable Version

+- LiveCloud Forums (https://forums.livecloud.io)
+-- Forum: General (https://forums.livecloud.io/forumdisplay.php?fid=1)
+--- Forum: General (https://forums.livecloud.io/forumdisplay.php?fid=3)
+--- Thread: What is the purpose of the "schema mode of tables" (/showthread.php?tid=44)



What is the purpose of the "schema mode of tables" - simon.schvartzman - 07-06-2019

Surfing the documentation I saw this command:


Quote:command cdb_updateTableSchemaMode pTable, pSchemaless


Used to: 
Quote:This command changes the schema mode of tables.

but I wasn't able to find what a table being schemaless or not does to the table.


RE: What is the purpose of the "schema mode of tables" - jasonchan - 07-09-2019

A schemaless table allows the creation of a record without predefined schema.
You can create a record with keys that are not defined for the table.
Some project might see a use in schemaless tables if there are dynamically generated data.