Skip to content

Add support for aggregations in clauses #23

@comnik

Description

@comnik

It is currently not possible to use aggregations within rules, because they can only appear within the find specification. It should be possible to use aggregations like transforms:

[[(total ?user ?sum)
  [?user :user/purchase ?purchase]
  [?purchase :purchase/amount ?amount]
  [(sum ?amount) ?sum]]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions