Schemas

Martin Obongita martin.obongita at yahoo.com
Wed Sep 7 17:23:27 UTC 2022


 Thank you @Alan,
That one-liner worked super.Actually, it made me very happy.
I appreciate your help.
Martin.

    On Wednesday, September 7, 2022 at 07:51:39 PM GMT+3, Alan Davey <david.a.davey at gmail.com> wrote:  
 
 Hi Martin,

You can use this:

Do vList.$define(vSchema,vColumn)

Do $libs.Schemas.$schemas.$sendall($ref.$objs.$sendall(vList.$add(
$ref.$class().$name,$ref.$name)))


If you want to filter, then add that filter as the 2nd parameter to the 2nd
$sendall() command.

Alan

On Wed, Sep 7, 2022 at 9:34 AM Martin Obongita via omnisdev-en <
omnisdev-en at lists.omnis-dev.com> wrote:

> Hi All,
> I have this command that lists all the schemas in use:
> Do $schemas.$makelist($ref.$name) Returns lList
>
> Which similar command can I use to get all the columns in all my
> schemas?Which command could I use to filter out some of the schemas?
>
> Rgds,Martin O.
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
_____________________________________________________________
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