Liking cljdoc? Tell your friends :D

akvo.commons.gae.query


<clj

(< property value)
source

<=clj

(<= property value)
source

=clj

(= property value)
source

>clj

(> property value)
source

>=clj

(>= property value)
source

add-projectionsclj

(add-projections q ps)
source

andclj

(and & filters)
source

entityclj

(entity ds kind filter-or-id)
(entity ds kind filter-or-id projection)
source

fetch-optionsclj

(fetch-options)
(fetch-options {:keys [chunk-size start-cursor end-cursor limit offset
                       prefetch-size]})

Create fetch options specified by the map. All keys are optional. :chunk-size :limit :offset :prefetch-size :start-cursor :end-cursor Prefer :start-cursor over :offset if possible

Create fetch options specified by the map. All keys are optional.
  :chunk-size
  :limit
  :offset
  :prefetch-size
  :start-cursor
  :end-cursor
Prefer :start-cursor over :offset if possible
sourceraw docstring

inclj

(in property value)
source

keyclj

source

not=clj

(not= property value)
source

orclj

(or & filters)
source

queryclj

(query {:keys [kind filter sort-by keys-only projections distinct]})

Create a query specified by the map :kind (required) :filter :sort-by - Either a property string, a vector [property :asc/desc] or a vector-of-vectors [[p1 dir] [p2 dir]] :keys-only? true/false (default false) :projections - A map of property -> class, ex: {"email" String "lastUpdate" Date} :distinct? true/false (only applicable if projections is specified

Create a query specified by the map
:kind (required)
:filter
:sort-by - Either a property string, a vector [property :asc/desc]
           or a vector-of-vectors [[p1 dir] [p2 dir]]
:keys-only? true/false (default false)
:projections - A map of property -> class, ex: {"email" String "lastUpdate" Date}
:distinct? true/false (only applicable if projections is specified
sourceraw docstring

resultclj

(result ds query-spec)
(result ds query-spec fetch-options-spec)
source

select-propertiesclj

(select-properties e props)

Returns a map with props => value for an Entity

Example (select-properties e ["description" "name" "parentId"]) => {"description" "Foo" "name" "Bar" "parentId" 0}

Returns a map with props => value for an Entity

Example
(select-properties e ["description" "name" "parentId"])
=> {"description" "Foo"
    "name" "Bar"
    "parentId" 0}
sourceraw docstring

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

× close