Liking cljdoc? Tell your friends :D

burningswell.db.util


assoc-embedded

(assoc-embedded m & kv)

color-vector

(color-vector color)

Convert a java.awt.Color into a vector.

Convert a java.awt.Color into a vector.
raw docstring

dissoc-pagination

(dissoc-pagination m)

Remove the pagination keys :page and :per-page from m.

Remove the pagination keys :page and :per-page from `m`.
raw docstring

embedded-photo


embedded-user-settings

(embedded-user-settings table)

enabled-gdal-drivers

(enabled-gdal-drivers db)

Return the short and long name of the enabled GDAL drivers.

Return the short and long name of the enabled GDAL drivers.
raw docstring

fetch-records-by-ids

(fetch-records-by-ids db f opts records)

fulltext

(fulltext query & columns)

Add a where condition to a select query.

Add a where condition to a select query.
raw docstring

geo-json-feature-collection

(geo-json-feature-collection db feature-query)

Select a GeoJSON feature collection using feature-query.

Select a GeoJSON feature collection using `feature-query`. 
raw docstring

geojson-by-column

(geojson-by-column db table geo-column id-column id-value)

Return the GeoJSON of a row by a column.

Return the GeoJSON of a row by a column.
raw docstring

geometry-as-png

(geometry-as-png width height color)

order-by

(order-by table & [{:keys [direction nulls sort], :as opts}])

Returns a SQL order by clause for opts.

Returns a SQL order by clause for `opts`.
raw docstring

order-by-bounding-box

(order-by-bounding-box column bounding-box & [opts])

Restrict the result set to rows that have column within bounding-box.

Restrict the result set to rows that have `column` within
`bounding-box`.
raw docstring

order-by-distance

(order-by-distance geom-1 geom-2 & [{:keys [direction]}])

order-by-views

(order-by-views table & [{:keys [direction nulls sort], :as opts}])

Returns a order by page views SQL clause for opts.

Returns a order by page views SQL clause for `opts`.
raw docstring

parse-location

(parse-location s)

random-row

(random-row db table)

Return a random row from table in db.

Return a random row from `table` in `db`.
raw docstring

select-count-rows

(select-count-rows db table)

Return a select statement that counts all rows in table.

Return a select statement that counts all rows in `table`.
raw docstring

within-bounding-box

(within-bounding-box column bounding-box & [opts])

Restrict the result set to rows that have column within bounding-box.

Restrict the result set to rows that have `column` within
`bounding-box`.
raw docstring

within-distance-to

(within-distance-to column location distance & [{:keys [spheroid?]}])

Return a WHERE clause where column is within distance kilometers to location.

Return a WHERE clause where `column` is within `distance`
kilometers to `location`.
raw docstring

zip-by-id

(zip-by-id coll)

Zip the elements of coll by their :id key.

Zip the elements of `coll` by their :id key.
raw docstring

zip-by-key

(zip-by-key coll & ks)

Zip the elements of coll by their key.

Zip the elements of `coll` by their `key`.
raw docstring

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

× close