(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
(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
(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}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close