Liking cljdoc? Tell your friends :D

fluree.db.dbfunctions.internal


*clj/s

(* & args)

Returns product of all the numbers in the sequence.

Returns product of all the numbers in the sequence.
raw docstring

+clj/s

(+ & args)

Returns sum of all arguments in a sequence.

Returns sum of all arguments in a sequence.
raw docstring

-clj/s

(- & 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.
raw docstring

/clj/s

(/ & 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
raw docstring

<clj/s

(< & args)

Like clojure.core/>, but applies < on a sequence

Like clojure.core/>, but applies < on a sequence
raw docstring

<=clj/s

(<= & args)

Like clojure.core/>, but applies < on a sequence

Like clojure.core/>, but applies < on a sequence
raw docstring

==clj/s

(== & args)

Return true if arguments in sequence equal each other.

Return true if arguments in sequence equal each other.
raw docstring

>clj/s

(> & args)

Like clojure.core/>, but applies > on a sequence

Like clojure.core/>, but applies > on a sequence
raw docstring

>=clj/s

(>= & args)

Like clojure.core/>=, but applies > on a sequence

Like clojure.core/>=, but applies > on a sequence
raw docstring

?auth_idclj/s

(?auth_id ?ctx)

?pclj/s

(?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
raw docstring

?pOclj/s

(?pO ?ctx)

?sclj/s

(?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.
raw docstring

?user_id-from-authclj/s

(?user_id-from-auth ?ctx)

andclj/s

(and & args)

Returns true if all true

Returns true if all true
raw docstring

booleanclj/s

(boolean x)

Coerce to boolean. Everything except false' andnil' is true in boolean context.

Coerce to boolean. Everything except `false' and `nil' is true in boolean context.
raw docstring

build-where-single-pathclj/s

(build-where-single-path startSubject var endSubject)

casclj/s

(cas ?ctx compare-val new-val)

Returns new-val if existing-val is equal to compare-val, else throws exception

Returns new-val if existing-val is equal to compare-val, else throws exception
raw docstring

ceilclj/s

(ceil num)

Returns the ceiling of a number, as integer.

Returns the ceiling of a number, as integer.
raw docstring

contains?clj/s

(contains? coll key)

Returns true if key is present.

Returns true if key is present.
raw docstring

countclj/s

(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
raw docstring

decclj/s

(dec n)

Decrements by 1. nil is treated as zero.

Decrements by 1. nil is treated as zero.
raw docstring

empty?clj/s

(empty? arg)

floorclj/s

(floor num)

Returns the floor of a number, as integer.

Returns the floor of a number, as integer.
raw docstring

getclj/s

(get m k)

get-allclj/s

(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.
raw docstring

get-inclj/s

(get-in m ks)

Returns the value in a nested structure

Returns the value in a nested structure
raw docstring

hash-setclj/s

(hash-set & args)

Returns a hash-set of args.

Returns a hash-set of args.
raw docstring

if-elseclj/s

(if-else test true-res false-res)

Like clojure.core/if

Like clojure.core/if
raw docstring

incclj/s

(inc n)

Increments by 1. nil is treated as zero.

Increments by 1. nil is treated as zero.
raw docstring

lower-caseclj/s

(lower-case str)

Like clojure.core/lower-case

Like clojure.core/lower-case
raw docstring

maxclj/s

(max & args)

Like clojure.core/max, but applies max on a sequence

Like clojure.core/max, but applies max on a sequence
raw docstring

max-pred-valclj/s

(max-pred-val db pred-name opts)

minclj/s

(min & args)

Like clojure.core/min, but applies min on a sequence

Like clojure.core/min, but applies min on a sequence
raw docstring

modclj/s

(mod n d)

Modulus of num and div. Truncates toward negative infinity.

Modulus of num and div. Truncates toward negative infinity.
raw docstring

nil?clj/s

(nil? arg)

notclj/s

(not arg)

not=clj/s

(not= & args)

nowclj/s

(now)

Returns current epoch milliseconds.

Returns current epoch milliseconds.
raw docstring

nthclj/s

(nth coll key)

Returns true if key is present.

Returns true if key is present.
raw docstring

objFclj/s

(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
raw docstring

objTclj/s

(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
raw docstring

orclj/s

(or & args)

Returns true if any true

Returns true if any true
raw docstring

pred-reverse-ref-reclj/s


queryclj/s

(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.
raw docstring

quotclj/s

(quot n d)

Quot[ient] of dividing numerator by denominator.

Quot[ient] of dividing numerator by denominator.
raw docstring

randclj/s

(rand instant max')

re-findclj/s

(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.
raw docstring

relationship?clj/s

(relationship? db startSubject path endSubject)

remclj/s

(rem n d)

Remainder of dividing numerator by denominator.

Remainder of dividing numerator by denominator.
raw docstring

reverse-ref?clj/s

(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.
raw docstring

strclj/s

(str & args)

Like clojure.core/str

Like clojure.core/str
raw docstring

subsclj/s

(subs & args)

Like clojure.core/subs

Like clojure.core/subs
raw docstring

unreverse-varclj/s

(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.
raw docstring

upper-caseclj/s

(upper-case str)

Like clojure.core/upper-case

Like clojure.core/upper-case
raw docstring

valid-email?clj/s

(valid-email? email)

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

× close