Importing Objects using CSV

Options
Hi,

I have an existing table as follows
id = 1,
Name = Apple,
Forecasts = [{Quarter: 1, EBITDA: 312, EPS: 250},{Quarter: 2, ...}]

I am able to update the table's name field using csv but struggling to update the object array 'Forecasts'. 

Any tips to import this? Also tried Forecasts.0 as column name.

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    Hey Chetan -

    Importing an object from a CSV would not work for a strongly typed object. Objects built in the Xano database specify a name and type on each element, which can't be done on the CSV since an object only exists in a cell of the spreadsheet.

    However, you should be able to choose a JSON data type instead for importing objects. Importing it as JSON should allow you to add objects this way.