O10: Easy way to create a table from a schema class?

Michael Houlberg michael at houlbergdevelopment.com
Sat Feb 12 23:49:40 UTC 2022


Take a look at table classes.  Schema classes can't do much by themselves.  You link your schema class to a table class, then use the $createnames function.  I think you’ll be able to figure it out from there.

Michael Houlberg
Houlberg Development, LLC

Sent from my iPad

> On Feb 12, 2022, at 3:03 PM, Mischa <mischa at omnislab.com> wrote:
> Dear all,
> I want to create tables in the db from schema classes. I know I could use the SQL Browser, however is there an easy way to do that by code or do I have to go through SQL statements for each schema entry? Unfortunately, the manual does not give a clue here. 
> Thanks
> Mischa
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

More information about the omnisdev-en mailing list