(delete-datastore-raw {:keys [project-id] :as options} pcoll)
delete a pcoll of already generated datastore entity from datastore
delete a pcoll of already generated datastore entity from datastore
(entity->clj e)
Converts a Datastore Entity to a Clojure map with the same properties. Repeated fields are handled as vectors and nested Entities as maps. All keys are turned to keywords. If the entity has a Key, Kind or Namespace, these can be found as :key, :kind, :namespace and :path in the meta of the returned map
Converts a Datastore Entity to a Clojure map with the same properties. Repeated fields are handled as vectors and nested Entities as maps. All keys are turned to keywords. If the entity has a Key, Kind or Namespace, these can be found as :key, :kind, :namespace and :path in the meta of the returned map
Protocol governing to conversion to datastore Value types
Protocol governing to conversion to datastore Value types
(make-ds-value-builder v)
Returns a Datastore Value builder for this particular value
Returns a Datastore Value builder for this particular value
(make-ds-entity raw-values)
(make-ds-entity raw-values {:keys [key] :as options})
Builds a Datastore Entity with the given Clojure value which is a map or seq of KVs corresponding to the desired entity, and options contains an optional key, path, namespace, kind and an optional set of field names that shoud not be indexed (only supported for top level fields for now). Supports repeated fields and nested entities (as nested map)
Builds a Datastore Entity with the given Clojure value which is a map or seq of KVs corresponding to the desired entity, and options contains an optional key, path, namespace, kind and an optional set of field names that shoud not be indexed (only supported for top level fields for now). Supports repeated fields and nested entities (as nested map)
(read-datastore-raw {:keys [project-id query namespace num-query-split]
:as options}
pcoll)
Read a datastore source return a pcoll of raw datastore entities
Read a datastore source return a pcoll of raw datastore entities
(value->clj v)
Converts a Datastore Value to its Clojure equivalent
Converts a Datastore Value to its Clojure equivalent
(write-datastore-raw {:keys [project-id] :as options} pcoll)
Write a pcoll of already generated datastore entity in datastore
Write a pcoll of already generated datastore entity in datastore
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close