Liking cljdoc? Tell your friends :D

capacitor.core


->fieldclj

(->field x)
(->field k v)

Make a Field record, optionally from a vector, a map, or a Field

Make a Field record, optionally from a vector, a map, or a Field
sourceraw docstring

->lineclj

(->line p)

Dump Point record to line

Dump Point record to line
sourceraw docstring

->linesclj

(->lines ps)

Dump collection of Point records to lines

Dump collection of Point records to lines
sourceraw docstring

->pointclj

(->point x)
(->point measurement tags fields timestamp)

Make a Point record

Make a Point record
sourceraw docstring

->tagclj

(->tag x)
(->tag k v)

Make a Tag record, optionally from a vector, a map, or a Tag

Make a Tag record, optionally from a vector, a map, or a Tag
sourceraw docstring

->timestampclj

(->timestamp x)

Make a Timestamp record, from a Long, a String, or a Timestamp

Make a Timestamp record, from a Long, a String, or a Timestamp
sourceraw docstring

create-dbclj

(create-db client)

Create database defined in client

Create database defined in client
sourceraw docstring

create-db-userclj

(create-db-user client username password)
(create-db-user client username password permissions)

Create new database user

Create new database user
sourceraw docstring

db-queryclj

(db-query client q & [results->maps?])

Perform arbitrary query string

Perform arbitrary query string
sourceraw docstring

delete-dbclj

(delete-db client)

Delete database defined in client

Delete database defined in client
sourceraw docstring

delete-userclj

(delete-user client username)

Delete user

Delete user
sourceraw docstring

grant-db-user-permissionsclj

(grant-db-user-permissions client username permissions)

Grant database user privileges

Grant database user privileges
sourceraw docstring

list-db-usersclj

(list-db-users client & [results->maps?])

List database users

List database users
sourceraw docstring

list-dbsclj

(list-dbs client)

Returns list of database names

Returns list of database names
sourceraw docstring

list-seriesclj

(list-series client & [results->maps?])

List series

List series
sourceraw docstring

list-user-permissionsclj

(list-user-permissions client username & [results->maps?])

Show database user privileges

Show database user privileges
sourceraw docstring

make-clientclj

(make-client opts)

Returns a map representing an HTTP client configuration.

Valid options: :host (default: "localhost") :scheme (default: "http://") :port (default: 8086) :username (default "root") :password (default "root") :db (default: "testdb") :version (default: "0.9") :post-opts (http post options, default: "nil") :get-opts (http get options, default: "nil")

Returns a map representing an HTTP client configuration.

Valid options:
  :host         (default: "localhost")
  :scheme       (default: "http://")
  :port         (default: 8086)
  :username     (default "root")
  :password     (default "root")
  :db           (default: "testdb")
  :version      (default: "0.9")
  :post-opts    (http post options, default: "nil")
  :get-opts     (http get options, default: "nil")
sourceraw docstring

pingclj

(ping client)

Get database status. Returns ping time in ms

Get database status. Returns ping time in ms
sourceraw docstring

revoke-db-user-permissionsclj

(revoke-db-user-permissions client username permissions)

Revoke database user privileges

Revoke database user privileges
sourceraw docstring

update-user-passwordclj

(update-user-password client username password)

Update database user password

Update database user password
sourceraw docstring

versionclj

(version client)

Get database version

Get database version
sourceraw docstring

write-linesclj

(write-lines client lines)

Write using raw line String

Write using raw line String
sourceraw docstring

write-pointclj

(write-point client point)

Write Point record to database defined in client

Write Point record to database defined in client
sourceraw docstring

write-pointsclj

(write-points client points)

Write collection of Point records to database defined in client

Write collection of Point records to database defined in client
sourceraw docstring

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

× close