(* & args)
Returns product of all the numbers in the sequence.
Returns product of all the numbers in the sequence.
(+ & args)
Returns sum of all arguments in a sequence.
Returns sum of all arguments in a sequence.
(- & args)
Returns difference of all the numbers in the sequence with the first number as the minuend.
Returns difference of all the numbers in the sequence with the first number as the minuend.
(/ & args)
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators. Takes a sequence
If no denominators are supplied, returns 1/numerator, else returns numerator divided by all of the denominators. Takes a sequence
(< & args)
Like clojure.core/>, but applies < on a sequence
Like clojure.core/>, but applies < on a sequence
(<= & args)
Like clojure.core/>, but applies < on a sequence
Like clojure.core/>, but applies < on a sequence
(== & args)
Return true if arguments in sequence equal each other.
Return true if arguments in sequence equal each other.
(> & args)
Like clojure.core/>, but applies > on a sequence
Like clojure.core/>, but applies > on a sequence
(>= & args)
Like clojure.core/>=, but applies > on a sequence
Like clojure.core/>=, but applies > on a sequence
(?auth_id ?ctx)
(?p ?ctx)
(?p ?ctx additional-params)
Retrieves all P-O Pairs for predicate, potential additional params if specified
Retrieves all P-O Pairs for predicate, potential additional params if specified
(?pO ?ctx)
(?s ?ctx)
(?s ?ctx additional-params)
Retrieves all P-O Pairs for subject, potential additional params if specified.
Retrieves all P-O Pairs for subject, potential additional params if specified.
(?user_id-from-auth ?ctx)
(boolean x)
Coerce to boolean. Everything except false' and
nil' is true in boolean context.
Coerce to boolean. Everything except `false' and `nil' is true in boolean context.
(build-where-single-path startSubject var endSubject)
(ceil num)
Returns the ceiling of a number, as integer.
Returns the ceiling of a number, as integer.
(contains? coll key)
Returns true if key is present.
Returns true if key is present.
(count coll)
Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collections and Maps
Returns the number of items in the collection. (count nil) returns 0. Also works on strings, arrays, and Java Collections and Maps
(dec n)
Decrements by 1. nil is treated as zero.
Decrements by 1. nil is treated as zero.
(empty? arg)
(floor num)
Returns the floor of a number, as integer.
Returns the floor of a number, as integer.
(get m k)
(get-all start-subject path)
Follows an subject down the provided path and returns a set of all matching subjects.
Follows an subject down the provided path and returns a set of all matching subjects.
(get-in m ks)
Returns the value in a nested structure
Returns the value in a nested structure
(if-else test true-res false-res)
Like clojure.core/if
Like clojure.core/if
(inc n)
Increments by 1. nil is treated as zero.
Increments by 1. nil is treated as zero.
(lower-case str)
Like clojure.core/lower-case
Like clojure.core/lower-case
(max & args)
Like clojure.core/max, but applies max on a sequence
Like clojure.core/max, but applies max on a sequence
(max-pred-val db pred-name opts)
(min & args)
Like clojure.core/min, but applies min on a sequence
Like clojure.core/min, but applies min on a sequence
(mod n d)
Modulus of num and div. Truncates toward negative infinity.
Modulus of num and div. Truncates toward negative infinity.
(nil? arg)
(not arg)
(not= & args)
(objF flakes)
Given an array of flakes, returns the sum of the objects of the false flakes
Given an array of flakes, returns the sum of the objects of the false flakes
(objT flakes)
Given an array of flakes, returns the sum of the objects of the true flakes
Given an array of flakes, returns the sum of the objects of the true flakes
(query db query-map)
(query db select from where block limit)
Executes a database query, but returns the :results directly.
Executes a database query, but returns the :results directly.
(quot n d)
Quot[ient] of dividing numerator by denominator.
Quot[ient] of dividing numerator by denominator.
(rand instant max')
(re-find pattern string)
Returns the next regex match, if any, of string to pattern, using java.util.regex.Matcher.find(). Uses re-groups to return the groups.
Returns the next regex match, if any, of string to pattern, using java.util.regex.Matcher.find(). Uses re-groups to return the groups.
(relationship? db startSubject path endSubject)
(rem n d)
Remainder of dividing numerator by denominator.
Remainder of dividing numerator by denominator.
(reverse-ref? predicate-name)
Reverse refs must be strings that include a '/_' in them, which characters before and after.
Reverse refs must be strings that include a '/_' in them, which characters before and after.
(unreverse-var pred)
A reverse-reference predicate gets transformed to the actual predicate name.
A reverse-reference predicate gets transformed to the actual predicate name.
(upper-case str)
Like clojure.core/upper-case
Like clojure.core/upper-case
(valid-email? email)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close