Liking cljdoc? Tell your friends :D

datasplash.datastore


delete-datastore-rawclj

(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.
sourceraw docstring

entity->cljclj

(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.
sourceraw docstring

get-name-or-idclj

(get-name-or-id key-path-element)
source

IValDScljprotocol

Protocol governing to conversion to datastore Value types.

Protocol governing to conversion to datastore Value types.

make-ds-value-builderclj

(make-ds-value-builder v)

Returns a Datastore Value builder for this particular value.

Returns a Datastore Value builder for this particular value.
sourceraw docstring

make-ds-entityclj

(make-ds-entity raw-values)
(make-ds-entity raw-values {:keys [key] :as options})

Builds a Datastore Entity with the given Clojure value. Input value is a map or seq of KVs corresponding to the desired entity. Supports repeated fields and nested entities (as nested map).

Options contains an optional :key, :path, :namespace, :kind and an optional :exclude-from-index set of field names that shoud not be indexed (only supported for top level fields for now).

Builds a Datastore Entity with the given Clojure value.
Input value is a map or seq of KVs corresponding to the desired entity.
Supports repeated fields and nested entities (as nested map).

Options contains an optional :key, :path, :namespace, :kind and
an optional :exclude-from-index set of field names that shoud not be
indexed (only supported for top level fields for now).
sourceraw docstring

make-ds-keyclj

(make-ds-key {:keys [kind key namespace path]})
source

make-ds-valueclj

(make-ds-value v)
source

read-datastore-rawclj

(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.
sourceraw docstring

type-mappingclj

source

value->cljclj

(value->clj v)

Converts a Datastore Value to its Clojure equivalent.

Converts a Datastore Value to its Clojure equivalent.
sourceraw docstring

write-datastore-rawclj

(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.
sourceraw docstring

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

× close