Skip to content

Tuple support #2

@dazld

Description

@dazld

I couldn't see an option to allow defining tuples as yet - it's not a huge issue, as can combine raw schema data with datofu calls, but using the same DSL would be nice for consistency.

Something like..

(attr :line/point :tuple :index [:double :double]) ;; etc etc


;; which would be the same as
{:db/ident :line/point
 :db/index true
 :db/valueType :db.type/tuple
 :db/tupleTypes [:db.type/double :db.type/double]
 :db/cardinality :db.cardinality/one}

If you're taking PRs, I could give adding the above a go?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions