Skip to content

Typed - functional select #36

@richardbutler

Description

@richardbutler

Hi Michael

Have you considered how this library might support functional selects (parse trees) via its serialisation capability? For example, the Q expression:

.xyz.func[`test;(`filterClause`foo)!(enlist[(=;`account;`C12345)];1b)]

could be expressed as something like this:

connection.k('.xyz.func', [
  '`test', {
    filterClause: [
      [typed.operator('='), '`account', '`C12345'] // could be one of '=', '>=', '>', 'in', etc
    ],
    foo: true
  }
], callback);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions