This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-24
Channels
Can I specify a unique reverse relation like this?
[{:dom/client-id #:db{:cardinality :db.cardinality/one,
:valueType :db.type/ref,
:unique :db.unique/identity}
{:dom/_attr+key #:db{:cardinality :db.cardinality/one,
:valueType :db.type/tuple,
:tupleAttrs [:dom/_attr :dom/attr-key],
:unique :db.unique/identity}}
if I am providing data like this?
{:dom/client-id "9fadb8a6-dfdc-40a7-84b0-9f2eef552345"
:dom/attr #:dom-attr{:key "client-id",
:value "9fadb8a6-dfdc-40a7-84b0-9f2eef552345"}}