Skip to main content
arunp0009
January 9, 2023
Question

Updating a field in Datatype as Array

  • January 9, 2023
  • 3 replies
  • 0 views

There a CDT with number of fields, I'm trying to update one field X as Array. In this case when I try to publish my Datastore it creates a separate table with random table naming and fields to store multiple values of field X.

Is there a way we can give our own naming for that table being created in the above case. I have tried downloading the DDL script and try editing table name and field, But that doesn't seems working.

Can anyone give me an insight why it's taking the random table name or is there any workaround in the above case ?

Thanks in Advance

    3 replies

    harshitb6843
    January 10, 2023

    For that, instead of marking that column as multiple, just create two CDTs where Id of 1st table is present in the second. Exactly how we do it in DB with tables. 
    And I think this is also the recommended approach for the same. 

    January 11, 2023

    As someone else who experienced this issue, I appreciate the clarification. geometry dash lite