Liking cljdoc? Tell your friends :D

eva.builtin

Abstraction point for modifying built in database functions.

Abstraction point for modifying built in database functions.
raw docstring

casclj

(cas db e a v-old v-new)
source

cas-failurecljmacro

(cas-failure subtype detail-str data)
(cas-failure subtype detail-str data cause)

Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form, and expands into the equivalent of:

   (error (str "<subtype-generic-str>: " detail-str)
          :eva.cas/<subtype>
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:failed-comparison {:required #{:e :expected :found :a}, :generic-str "Comparison failed for CAS"}, :ambiguous-target {:required #{:e :expected :a}, :generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}

Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form, and expands into the
          equivalent of:

       (error (str "<subtype-generic-str>: " detail-str)
              :eva.cas/<subtype>
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:failed-comparison {:required #{:e :expected :found :a},
                       :generic-str "Comparison failed for CAS"},
   :ambiguous-target {:required #{:e :expected :a},
                      :generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}
sourceraw docstring

raise-cas-failurecljmacro

(raise-cas-failure subtype detail-str data)
(raise-cas-failure subtype detail-str data cause)

Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form and expands into:

   (raise :eva.cas/<subtype>
          (str "<subtype-generic-str>: " detail-str)
          data
          cause)

The following map shows, for each subtype, what keywords are required in the data map, and what the generic portion of the string will be:

{:failed-comparison {:required #{:e :expected :found :a}, :generic-str "Comparison failed for CAS"}, :ambiguous-target {:required #{:e :expected :a}, :generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}

Records this raise-site under :eva.cas/<subtype> in eva.error/eva-error-form and expands into:

       (raise :eva.cas/<subtype>
              (str "<subtype-generic-str>: " detail-str)
              data
              cause)

The following map shows, for each subtype, what keywords are required in
the data map, and what the generic portion of the string will be:

   {:failed-comparison {:required #{:e :expected :found :a},
                       :generic-str "Comparison failed for CAS"},
   :ambiguous-target {:required #{:e :expected :a},
                      :generic-str "Cannot CAS on an attribute with :db.cardinality/many"}}
sourceraw docstring

retract-entityclj

(retract-entity db entity-to-retract)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close