Get table schema from doo object

Hi,

is there some way/function which is prepared from Tabidoo, to get table schema?
In other words: “list of properties from which table columns are composed”.
Something like doo.table.getSchema(), which would return array of properties which represents table columns (table schema)?

Right now if I want to get table schema, I need to iterate over properties of object doo.model, and check if the property contains “fieldName”.
If yes, it is related to table column (“schema” - which i want).
If not, its some metadata (hideCategory, modelMetadata, etc…)

And I want to know if there is some simple way of doing it.
Is there?

Thanks

Hello Tomas,

you can use function getTable.

I am sending you a link to the documentation:

With kind regards,
Soňa