(attr-info db attr)
Returns identifier name and reference value of an attributes. Both values are identical for non-reference databases.
Returns identifier name and reference value of an attributes. Both values are identical for non-reference databases.
(reduce-indexed f init xs)
Same as reduce, but f
takes [acc el idx]
Same as reduce, but `f` takes [acc el idx]
(tuple-source? db attr)
Returns true if 'attr' is an attribute basis of a tuple attribute. E.g. ':a' is an attribute part of the tuple attribute ':a+b'. (tuple-source? :a) returns true.
Returns true if 'attr' is an attribute basis of a tuple attribute. E.g. ':a' is an attribute part of the tuple attribute ':a+b'. (tuple-source? :a) returns true.
(tuple? db attr)
Returns true if 'attr' is a tuple attribute. I.e., if 'attr' value is of type ':db.type/tuple'
Returns true if 'attr' is a tuple attribute. I.e., if 'attr' value is of type ':db.type/tuple'
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close