Warning:
Fauna is decommissioning FQL v4 on June 30, 2025.
This driver is not compatible with FQL v10, the latest version. Fauna accounts created after August 21, 2024 must use FQL v10.
Ensure you migrate existing projects to the official v10 driver by the v4 EOL date: https://github.com/fauna/fauna-dotnet.
For more information, see the v4 end of life (EOL) announcement and related FAQ.
Methods modeling the FaunaDB query language. This class is intended to be statically imported into your code: More...
Classes | |
class | Cursor |
Creates a new Cursor to be used with a Paginate expression. More... | |
struct | LetBinding |
struct | PathSelector |
Builder for path selectors. More... | |
Public Types | |
enum class | Normalizer { NFD , NFC , NFKD , NFKC , NFKCCaseFold } |
Possible normalizer values accepted by Casefold(Expr, Normalizer). More... | |
enum class | TimeUnit { Day , HalfDay , Hour , Minute , Second , Millisecond , Microsecond , Nanosecond } |
Possible time units accepted by Epoch(Expr, TimeUnit). More... | |
enum class | ActionType { Create , Delete } |
Possible actions for functions Insert(Expr, Expr, ActionType, Expr) and Remove(Expr, Expr, ActionType). More... | |
Static Public Member Functions | |
static Expr | Login (Expr @ref, Expr @params) |
Creates a new Login expression. More... | |
static Expr | Logout (Expr deleteTokens) |
Creates a new Logout expression. More... | |
static Expr | Logout (bool deleteTokens) |
Creates a new Logout expression. More... | |
static Expr | Identify (Expr @ref, Expr password) |
Creates a new Identify expression. More... | |
static Expr | Identity () |
Creates a new Identity expression. More... | |
static Expr | CurrentIdentity () |
Creates a new CurrentIdentity expression. More... | |
static Expr | HasIdentity () |
Creates a new HasIdentity expression. More... | |
static Expr | HasCurrentIdentity () |
Creates a new HasCurrentIdentity expression. More... | |
static Expr | CurrentToken () |
Creates a new CurrentToken expression. More... | |
static Expr | HasCurrentToken () |
Creates a new HasCurrentToken expression. More... | |
static Expr | AccessProviders (Expr scope=null) |
Creates a new AccessProviders expression. More... | |
static Expr | AccessProvider (Expr name, Expr scope=null) |
Creates a new AccessProvider expression. More... | |
static Expr | CreateAccessProvider (Expr expr) |
Creates a new CreateAccessProvider expression. More... | |
static Expr | Abort (Expr msg) |
Creates a new Abort expression. More... | |
static Expr | Call (Expr @ref, params Expr[] arguments) |
Creates a new Call expression. More... | |
static Expr | Query (Expr lambda) |
Creates a new Query expression. More... | |
static Expr | At (Expr timestamp, Expr expr) |
Creates a new At expression. More... | |
static Expr | Let (IReadOnlyDictionary< string, Expr > vars, Expr @in) |
Creates a new Let expression wrapping the provided map of bindings. More... | |
static Expr | Var (string varName) |
Creates a new Var expression. More... | |
static Expr | If (Expr @if, Expr @then, Expr @else) |
Creates a new If expression. More... | |
static Expr | Do (params Expr[] expressions) |
Creates a new Do expression containing the provided expressions. More... | |
static Expr | Lambda (Expr vars, Expr expr) |
Creates a new Lambda expression. More... | |
static Expr | Lambda (Func< Expr, Expr > lambda) |
Creates a lambda expression that receives one argument. More... | |
static Expr | Lambda (Func< Expr, Expr, Expr > lambda) |
Creates a lambda expression that receives two arguments. More... | |
static Expr | Lambda (Func< Expr, Expr, Expr, Expr > lambda) |
Creates a lambda expression that receives three arguments. More... | |
static Expr | Lambda (Func< Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a lambda expression that receives four arguments. More... | |
static Expr | Lambda (Func< Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a lambda expression that receives five arguments. More... | |
static Expr | Lambda (Func< Expr, Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a lambda expression that receives six arguments. More... | |
static LetBinding | Let (string k0, Expr v0) |
Creates a new Let expression with the provided bindings. More... | |
static LetBinding | Let (string k0, Expr v0, string k1, Expr v1) |
Creates a new Let expression with the provided bindings. More... | |
static LetBinding | Let (string k0, Expr v0, string k1, Expr v1, string k2, Expr v2) |
Creates a new Let expression with the provided bindings. More... | |
static LetBinding | Let (string k0, Expr v0, string k1, Expr v1, string k2, Expr v2, string k3, Expr v3) |
Creates a new Let expression with the provided bindings. More... | |
static LetBinding | Let (string k0, Expr v0, string k1, Expr v1, string k2, Expr v2, string k3, Expr v3, string k4, Expr v4) |
Creates a new Let expression with the provided bindings. More... | |
static LetBinding | Let (string k0, Expr v0, string k1, Expr v1, string k2, Expr v2, string k3, Expr v3, string k4, Expr v4, string k5, Expr v5) |
Creates a new Let expression with the provided bindings. More... | |
static Expr | Map (Expr collection, Expr lambda) |
Creates a new Map expression. More... | |
static Expr | Foreach (Expr collection, Expr lambda) |
Creates a new Foreach expression. More... | |
static Expr | Filter (Expr collection, Expr lambda) |
Creates a new Filter expression. More... | |
static Expr | Take (Expr number, Expr collection) |
Creates a new Take expression. More... | |
static Expr | Drop (Expr number, Expr collection) |
Creates a new Drop expression. More... | |
static Expr | Prepend (Expr elements, Expr collection) |
Creates a new Prepend expression. More... | |
static Expr | Append (Expr elements, Expr collection) |
Creates a new Append expression. More... | |
static Expr | IsEmpty (Expr collection) |
Creates a new IsEmpty expression. More... | |
static Expr | IsNonEmpty (Expr collection) |
Creates a new IsNonEmpty expression. More... | |
static Expr | Reverse (Expr expr) |
Creates a new Reverse expression. More... | |
static Expr | All (Expr collection) |
Evaluates to true if all elements of the collection is true. More... | |
static Expr | Any (Expr collection) |
Evaluates to true if any element of the collection is true. More... | |
static Expr | Filter (Expr collection, Func< Expr, Expr > lambda) |
Creates a new Filter expression with a lambda function that receives one argument. More... | |
static Expr | Filter (Expr collection, Func< Expr, Expr, Expr > lambda) |
Creates a new Filter expression with a lambda function that receives two arguments. More... | |
static Expr | Filter (Expr collection, Func< Expr, Expr, Expr, Expr > lambda) |
Creates a new Filter expression with a lambda function that receives three arguments. More... | |
static Expr | Filter (Expr collection, Func< Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Filter expression with a lambda function that receives four arguments. More... | |
static Expr | Filter (Expr collection, Func< Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Filter expression with a lambda function that receives five arguments. More... | |
static Expr | Filter (Expr collection, Func< Expr, Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Filter expression with a lambda function that receives six arguments. More... | |
static Expr | Foreach (Expr collection, Func< Expr, Expr > lambda) |
Creates a new Foreach expression with a lambda function that receives one argument. More... | |
static Expr | Foreach (Expr collection, Func< Expr, Expr, Expr > lambda) |
Creates a new Foreach expression with a lambda function that receives two arguments. More... | |
static Expr | Foreach (Expr collection, Func< Expr, Expr, Expr, Expr > lambda) |
Creates a new Foreach expression with a lambda function that receives three arguments. More... | |
static Expr | Foreach (Expr collection, Func< Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Foreach expression with a lambda function that receives four arguments. More... | |
static Expr | Foreach (Expr collection, Func< Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Foreach expression with a lambda function that receives five arguments. More... | |
static Expr | Foreach (Expr collection, Func< Expr, Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Foreach expression with a lambda function that receives six arguments. More... | |
static Expr | Map (Expr collection, Func< Expr, Expr > lambda) |
Creates a new Map expression with a lambda function that receives one argument. More... | |
static Expr | Map (Expr collection, Func< Expr, Expr, Expr > lambda) |
Creates a new Map expression with a lambda function that receives two arguments. More... | |
static Expr | Map (Expr collection, Func< Expr, Expr, Expr, Expr > lambda) |
Creates a new Map expression with a lambda function that receives three arguments. More... | |
static Expr | Map (Expr collection, Func< Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Map expression with a lambda function that receives four arguments. More... | |
static Expr | Map (Expr collection, Func< Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Map expression with a lambda function that receives five arguments. More... | |
static Expr | Map (Expr collection, Func< Expr, Expr, Expr, Expr, Expr, Expr, Expr > lambda) |
Creates a new Map expression with a lambda function that receives six arguments. More... | |
static Expr | NextId () |
Creates a new NextId expression. More... | |
static Expr | NewId () |
Creates a new NewId expression. More... | |
static Expr | Database (Expr db_name, Expr scope=null) |
Creates a new Database expression. More... | |
static Expr | Index (Expr index_name, Expr scope=null) |
Creates a new Index expression. More... | |
static Expr | Collection (Expr coll_name, Expr scope=null) |
Creates a new Collection expression. More... | |
static Expr | Class (Expr class_name, Expr scope=null) |
Creates a new Class expression. More... | |
static Expr | Function (Expr function_name, Expr scope=null) |
Creates a new Function expression. More... | |
static Expr | Role (Expr role_name, Expr scope=null) |
Creates a new Role expression. More... | |
static Expr | Collections (Expr scope=null) |
Returns an internal reference to collections object. Useful to paginate over all classes of a given scope database. More... | |
static Expr | Classes (Expr scope=null) |
Returns an internal reference to classes object. Useful to paginate over all classes of a given scope database. More... | |
static Expr | Indexes (Expr scope=null) |
Returns an internal reference to indexes object. Useful to paginate over all indexes of a given scope database. More... | |
static Expr | Databases (Expr scope=null) |
Returns an internal reference to databases object. Useful to paginate over all databases of a given scope database. More... | |
static Expr | Functions (Expr scope=null) |
Returns an internal reference to functions object. Useful to paginate over all functions of a given scope database. More... | |
static Expr | Roles (Expr scope=null) |
Returns an internal reference to roles object. Useful to paginate over all roles of a given scope database. More... | |
static Expr | Keys (Expr scope=null) |
Returns an internal reference to keys object. Useful to paginate over all keys of a given scope database. More... | |
static Expr | Tokens (Expr scope=null) |
Returns an internal reference to tokens object. Useful to paginate over all tokens of a given scope database. More... | |
static Expr | Credentials (Expr scope=null) |
Returns an internal reference to credentials object. Useful to paginate over all credentials of a given scope database. More... | |
static Expr | EqualsFn (params Expr[] values) |
Creates a new Equals expression. More... | |
static Expr | Contains (Expr path, Expr @in) |
Creates a new Contains expression. More... | |
static Expr | ContainsField (Expr path, Expr @in) |
Creates a new ContainsField expression. More... | |
static Expr | ContainsValue (Expr value, Expr @in) |
Creates a new ContainsValue expression. More... | |
static Expr | Contains (PathSelector path, Expr @in) |
Creates a new Contains expression. More... | |
static Expr | ContainsPath (PathSelector path, Expr @in) |
Creates a new ContainsPath expression. More... | |
static Expr | ContainsPath (Expr expr, Expr @in) |
Creates a new ContainsPath expression. More... | |
static Expr | Select (Expr path, Expr @from, Expr @default=null) |
Creates a new Select expression. More... | |
static Expr | Select (PathSelector path, Expr @from, Expr @default=null) |
Creates a new Select expression. More... | |
static Expr | SelectAll (Expr path, Expr @from) |
Creates a new SelectAll expression. More... | |
static Expr | SelectAll (PathSelector path, Expr @from) |
Creates a new SelectAll expression. More... | |
static Expr | Add (params Expr[] values) |
Creates a new Add expression. More... | |
static Expr | Multiply (params Expr[] values) |
Creates a new Multiply expression. More... | |
static Expr | Subtract (params Expr[] values) |
Creates a new Subtract expression. More... | |
static Expr | Divide (params Expr[] values) |
Creates a new Divide expression. More... | |
static Expr | Modulo (params Expr[] values) |
Creates a new Modulo expression. More... | |
static Expr | LT (params Expr[] values) |
Creates a new LT expression. More... | |
static Expr | LTE (params Expr[] values) |
Creates a new LTE expression. More... | |
static Expr | GT (params Expr[] values) |
Creates a new GT expression. More... | |
static Expr | GTE (params Expr[] values) |
Creates a new GTE expression. More... | |
static Expr | And (params Expr[] values) |
Creates a new And expression. More... | |
static Expr | Or (params Expr[] values) |
Creates a new Or expression. More... | |
static Expr | Not (Expr boolean) |
Creates a new Not expression. More... | |
static Expr | ToStringExpr (Expr expr) |
Converts an expression to a string literal. More... | |
static Expr | ToNumber (Expr expr) |
Converts an expression to a number literal. More... | |
static Expr | ToTime (Expr expr) |
Converts an expresion to a time literal. More... | |
static Expr | ToSeconds (Expr expr) |
Converts a time expression to seconds since the UNIX epoch. More... | |
static Expr | ToMillis (Expr expr) |
Converts a time expression to milliseconds since the UNIX epoch. More... | |
static Expr | ToMicros (Expr expr) |
Converts a time expression to microseconds since the UNIX epoch. More... | |
static Expr | DayOfYear (Expr expr) |
Returns a time expression's day of the year, from 1 to 365, or 366 in a leap year. More... | |
static Expr | DayOfMonth (Expr expr) |
Returns a time expression's day of the month, from 1 to 31. More... | |
static Expr | DayOfWeek (Expr expr) |
Returns a time expression's day of the week following ISO-8601 convention, from 1 (Monday) to 7 (Sunday). More... | |
static Expr | Year (Expr expr) |
Returns the time expression's year, following the ISO-8601 standard. More... | |
static Expr | Month (Expr expr) |
Returns a time expression's month of the year, from 1 to 12. More... | |
static Expr | Hour (Expr expr) |
Returns a time expression's hour of the day, from 0 to 23. More... | |
static Expr | Minute (Expr expr) |
Returns a time expression's minute of the hour, from 0 to 59. More... | |
static Expr | Second (Expr expr) |
Returns a time expression's second of the minute, from 0 to 59. More... | |
static Expr | ToDate (Expr expr) |
Converts an expression to a date literal. More... | |
static Expr | Merge (Expr merge, Expr with) |
Merges two or more objects More... | |
static Expr | Merge (Expr merge, Expr with, Expr lambda) |
Merges two or more objects More... | |
static Expr | Merge (Expr merge, Expr with, Func< Expr, Expr, Expr, Expr > lambda) |
Merges two or more objects More... | |
static Expr | Abs (Expr value) |
Creates a new Abs expression. More... | |
static Expr | Acos (Expr value) |
Creates a new Acos expression. More... | |
static Expr | Asin (Expr expr) |
Creates a new Asin expression. More... | |
static Expr | Atan (Expr expr) |
Creates a new Atan expression. More... | |
static Expr | BitAnd (params Expr[] terms) |
Creates a new BitAnd expression. More... | |
static Expr | BitNot (Expr expr) |
Creates a new BitNot expression. More... | |
static Expr | BitOr (params Expr[] terms) |
Creates a new BitOr expression. More... | |
static Expr | BitXor (params Expr[] terms) |
Creates a new BitXor expression. More... | |
static Expr | Ceil (Expr expr) |
Creates a new Ceil expression. More... | |
static Expr | Cos (Expr expr) |
Creates a new Cos expression. More... | |
static Expr | Cosh (Expr expr) |
Creates a new Cosh expression. More... | |
static Expr | Degrees (Expr expr) |
Creates a new Degrees expression. More... | |
static Expr | Exp (Expr expr) |
Creates a new Exp expression. More... | |
static Expr | Floor (Expr expr) |
Creates a new Floor expression. More... | |
static Expr | Hypot (Expr value, Expr exp=null) |
Creates a new Hypot expression. More... | |
static Expr | Ln (Expr expr) |
Creates a new Ln expression. More... | |
static Expr | Log (Expr expr) |
Creates a new Log expression. More... | |
static Expr | Max (params Expr[] terms) |
Creates a new Max expression. More... | |
static Expr | Min (params Expr[] terms) |
Creates a new Min expression. More... | |
static Expr | Pow (Expr value, Expr exp=null) |
Creates a new Pow expression. More... | |
static Expr | Radians (Expr expr) |
Creates a new Radians expression. More... | |
static Expr | Round (Expr expr, Expr precision=null) |
Creates a new Round expression. More... | |
static Expr | Sign (Expr expr) |
Creates a new Sign expression. More... | |
static Expr | Sin (Expr expr) |
Creates a new Sin expression. More... | |
static Expr | Sinh (Expr expr) |
Creates a new Sinh expression. More... | |
static Expr | Sqrt (Expr expr) |
Creates a new Sqrt expression. More... | |
static Expr | Tan (Expr expr) |
Creates a new Tan expression. More... | |
static Expr | Tanh (Expr expr) |
Creates a new Tanh expression. More... | |
static Expr | Trunc (Expr expr, Expr precision=null) |
Creates a new Trunc expression. More... | |
static Expr | FindStr (Expr expr, Expr find, Expr start=null) |
Returns the offset position of a string in another string. More... | |
static Expr | FindStrRegex (Expr expr, Expr pattern, Expr start=null, Expr numResults=null) |
Returns an array of up to 1024 objects describing where the pattern is found in the search string. More... | |
static Expr | Length (Expr expr) |
Returns the number of code points in the string. More... | |
static Expr | LowerCase (Expr expr) |
Returns a string in which all uppercase characters have been replaced by their corresponding lowercase characters. More... | |
static Expr | LTrim (Expr expr) |
Removes all white spaces, tabs, and new lines from the beginning of a string. More... | |
static Expr | Repeat (Expr expr) |
Returns a string consisting of the value string repeated number times. More... | |
static Expr | Repeat (Expr expr, Expr number) |
Returns a string consisting of the value string repeated number times. More... | |
static Expr | ReplaceStr (Expr expr, Expr find, Expr replace) |
Replaces a string. More... | |
static Expr | ReplaceStrRegex (Expr expr, Expr pattern, Expr replace, Expr first=null) |
Replaces all the occurrences (or the first one) of find pattern substituted with replace string. More... | |
static Expr | RTrim (Expr expr) |
Replaces a string inside. More... | |
static Expr | Space (Expr count) |
Replaces a string inside. More... | |
static Expr | SubString (Expr expr, Expr start=null, Expr length=null) |
Returns a portion of the string. More... | |
static Expr | TitleCase (Expr expr) |
Returns a string which has the first letter of each word capitalized. More... | |
static Expr | Trim (Expr expr) |
Returns a string which has both the leading and trailing white spaces, tabs, and new lines removed. More... | |
static Expr | UpperCase (Expr expr) |
Returns a string which has all lowercase characters in the string replaced by their corresponding uppercase characters. More... | |
static Expr | StartsWith (Expr value, Expr search) |
See the FaunaDB StartsWith Function More... | |
static Expr | EndsWith (Expr value, Expr search) |
See the FaunaDB EndsWith Function More... | |
static Expr | ContainsStr (Expr value, Expr search) |
static Expr | ContainsStrRegex (Expr value, Expr pattern) |
static Expr | RegexEscape (Expr value) |
static Expr | Documents (Expr collection) |
static Expr | ToArray (Expr expr) |
Try to convert an object into an array of (field, value). More... | |
static Expr | ToObject (Expr fields) |
Try to convert an array of (field, value) into an object. More... | |
static Expr | ToDouble (Expr value) |
Casts an expression to a double value, if possible. More... | |
static Expr | ToInteger (Expr value) |
Casts an expression to an integer value, if possible. More... | |
static Expr | Get (Expr @ref, Expr ts=null) |
Creates a new Get expression. More... | |
static Expr | KeyFromSecret (Expr secret) |
Creates a new KeyFromSecret expression. More... | |
static Expr | Paginate (Expr set, Expr ts=null, Expr after=null, Expr before=null, Expr size=null, Expr events=null, Expr sources=null, Cursor cursor=null) |
Creates a new Paginate expression. More... | |
static Cursor | RawCursor (Expr expr) |
static Cursor | After (Expr expr) |
static Cursor | Before (Expr expr) |
static Expr | Exists (Expr @ref, Expr ts=null) |
Creates a new Exists expression. More... | |
static Expr | Reduce (Expr lambda, Expr initial, Expr collection) |
Creates a new Exists expression. More... | |
static Expr | Reduce (Func< Expr, Expr, Expr > lambda, Expr initial, Expr collection) |
Creates a new Exists expression. More... | |
static Expr | Count (Expr expr) |
Returns the number of items that exist in the array or set More... | |
static Expr | Sum (Expr expr) |
Returns the sum of all items. More... | |
static Expr | Mean (Expr expr) |
Returns the average value of the items. More... | |
static Expr | Singleton (Expr @ref) |
Creates a new Singleton expression. More... | |
static Expr | Events (Expr refSet) |
Creates a new Events expression. More... | |
static Expr | Match (Expr index, params Expr[] terms) |
Creates a new Match expression. More... | |
static Expr | Union (params Expr[] values) |
Creates a new Union expression. More... | |
static Expr | Intersection (params Expr[] values) |
Creates a new Intersection expression. More... | |
static Expr | Difference (params Expr[] values) |
Creates a new Difference expression. More... | |
static Expr | Distinct (Expr set) |
Creates a new Distinct expression. More... | |
static Expr | Join (Expr source, Expr target) |
Creates a new Join expression. More... | |
static Expr | Range (Expr set, Expr from, Expr to) |
Filters the set based on the lower/upper bounds (inclusive). More... | |
static Expr | Join (Expr source, Func< Expr, Expr > target) |
Creates a new Join expression. More... | |
static Expr | Join (Expr source, Func< Expr, Expr, Expr > target) |
Creates a new Join expression. More... | |
static Expr | Join (Expr source, Func< Expr, Expr, Expr, Expr > target) |
Creates a new Join expression. More... | |
static Expr | Join (Expr source, Func< Expr, Expr, Expr, Expr, Expr > target) |
Creates a new Join expression. More... | |
static Expr | Join (Expr source, Func< Expr, Expr, Expr, Expr, Expr, Expr > target) |
Creates a new Join expression. More... | |
static Expr | Join (Expr source, Func< Expr, Expr, Expr, Expr, Expr, Expr, Expr > target) |
Creates a new Join expression. More... | |
static Expr | Concat (Expr strings, Expr separator=null) |
Creates a new Concat expression. More... | |
static Expr | Casefold (Expr @string, Normalizer normalizer) |
Creates a new Casefold expression. More... | |
static Expr | Casefold (Expr @string, Expr normalizer=null) |
Creates a new Casefold expression. More... | |
static Expr | NGram (Expr terms, Expr min=null, Expr max=null) |
Creates a new NGram expression. More... | |
static Expr | Format (Expr format, params Expr[] values) |
Format values into string. More... | |
static Expr | Time (Expr time) |
Creates a new Time expression. More... | |
static Expr | Epoch (Expr number, TimeUnit unit) |
Creates a new Epoch expression. More... | |
static Expr | Epoch (Expr number, Expr unit) |
Creates a new Epoch expression. More... | |
static Expr | Date (Expr date) |
Creates a new Date expression. More... | |
static Expr | Now () |
Constructs a Timestamp representing the transaction’s start time. More... | |
static Expr | TimeAdd (Expr value, Expr offset, Expr unit) |
Returns a new time or date with the offset in terms of the unit added. More... | |
static Expr | TimeSubtract (Expr value, Expr offset, Expr unit) |
Returns a new time or date with the offset in terms of the unit subtracted. More... | |
static Expr | TimeDiff (Expr start, Expr finish, Expr unit) |
Returns the number of intervals in terms of the unit between two times or dates. Both start and finish must be of the same type. More... | |
static Expr | IsArray (Expr expr) |
Check if the expression is an array. More... | |
static Expr | IsBoolean (Expr expr) |
Check if the expression is a boolean. More... | |
static Expr | IsBytes (Expr expr) |
Check if the expression is a byte array. More... | |
static Expr | IsCollection (Expr expr) |
Check if the expression is a collection. More... | |
static Expr | IsCredentials (Expr expr) |
Check if the expression is a credentials. More... | |
static Expr | IsDatabase (Expr expr) |
Check if the expression is a database. More... | |
static Expr | IsDate (Expr expr) |
Check if the expression is a date. More... | |
static Expr | IsDoc (Expr expr) |
Check if the expression is a document (either a reference or an instance). More... | |
static Expr | IsDouble (Expr expr) |
Check if the expression is a double. More... | |
static Expr | IsFunction (Expr expr) |
Check if the expression is a function. More... | |
static Expr | IsIndex (Expr expr) |
Check if the expression is an index. More... | |
static Expr | IsInteger (Expr expr) |
Check if the expression is an integer. More... | |
static Expr | IsKey (Expr expr) |
Check if the expression is a key. More... | |
static Expr | IsLambda (Expr expr) |
Check if the expression is a lambda. More... | |
static Expr | IsNull (Expr expr) |
Check if the expression is null. More... | |
static Expr | IsNumber (Expr expr) |
Check if the expression is a number. More... | |
static Expr | IsObject (Expr expr) |
Check if the expression is an object. More... | |
static Expr | IsRef (Expr expr) |
Check if the expression is a reference. More... | |
static Expr | IsRole (Expr expr) |
Check if the expression is a role. More... | |
static Expr | IsSet (Expr expr) |
Check if the expression is a set. More... | |
static Expr | IsString (Expr expr) |
Check if the expression is a string. More... | |
static Expr | IsTimestamp (Expr expr) |
Check if the expression is a timestamp. More... | |
static Expr | IsToken (Expr expr) |
Check if the expression is a token. More... | |
static PathSelector | Path (params string[] segments) |
Helper for constructing a PathSelector with the given path terms. More... | |
static PathSelector | Path (params int[] segments) |
Helper for constructing a PathSelector with the given path terms. More... | |
static PathSelector | Path (params Expr[] expr) |
Helper for constructing a PathSelector with the given expression. More... | |
static Expr | Null () |
Creates a null value. More... | |
static Expr | Ref (string @ref) |
Creates a ref value from a string. More... | |
static Expr | Ref (Expr classRef, Expr id) |
Calls ref function to create a ref value. More... | |
static Expr | Ts (DateTime dateTime) |
Creates a new Timestamp value. More... | |
static Expr | Ts (string iso8601Time) |
Creates a new Timestamp value. More... | |
static Expr | Dt (DateTime dateTime) |
Creates a new Date value. More... | |
static Expr | Dt (string iso8601Date) |
Creates a new Date value. More... | |
static Expr | Arr (params Expr[] values) |
Creates a new Array value containing the provided entries. More... | |
static Expr | Arr (IEnumerable< Expr > values) |
Creates a new Array value containing the provided enumerable of values. More... | |
static Expr | Obj (IReadOnlyDictionary< string, Expr > fields) |
Creates a new Object value wrapping the provided map. More... | |
static Expr | Bytes (params byte[] bytes) |
Creates a new Bytes value More... | |
static Expr | Obj () |
Creates a new empty Object value. More... | |
static Expr | Obj (string key1, Expr value1) |
Creates a new Object value with the provided entries. More... | |
static Expr | Obj (string key1, Expr value1, string key2, Expr value2) |
Creates a new Object value with the provided entries. More... | |
static Expr | Obj (string key1, Expr value1, string key2, Expr value2, string key3, Expr value3) |
Creates a new Object value with the provided entries. More... | |
static Expr | Obj (string key1, Expr value1, string key2, Expr value2, string key3, Expr value3, string key4, Expr value4) |
Creates a new Object value with the provided entries. More... | |
static Expr | Obj (string key1, Expr value1, string key2, Expr value2, string key3, Expr value3, string key4, Expr value4, string key5, Expr value5) |
Creates a new Object value with the provided entries. More... | |
static Expr | Obj (string key1, Expr value1, string key2, Expr value2, string key3, Expr value3, string key4, Expr value4, string key5, Expr value5, string key6, Expr value6) |
Creates a new Object value with the provided entries. More... | |
static Expr | Create (Expr classRef, Expr @params) |
Creates a new Create expression. More... | |
static Expr | Update (Expr @ref, Expr @params) |
Creates a new Update expression. More... | |
static Expr | Replace (Expr @ref, Expr @params) |
Creates a new Replace expression. More... | |
static Expr | Delete (Expr @ref) |
Creates a new Delete expression. More... | |
static Expr | Insert (Expr @ref, Expr ts, ActionType action, Expr @params) |
Creates a new Insert expression. More... | |
static Expr | Insert (Expr @ref, Expr ts, Expr action, Expr @params) |
Creates a new Insert expression. More... | |
static Expr | Remove (Expr @ref, Expr ts, ActionType action) |
Creates a new Remove expression. More... | |
static Expr | Remove (Expr @ref, Expr ts, Expr action) |
Creates a new Remove expression. More... | |
static Expr | CreateClass (Expr class_params) |
Creates a new CreateClass expression. More... | |
static Expr | CreateCollection (Expr coll_params) |
Creates a new CreateCollection expression. More... | |
static Expr | CreateDatabase (Expr db_params) |
Creates a new CreateDatabase expression. More... | |
static Expr | CreateIndex (Expr index_params) |
Creates a new CreateIndex expression. More... | |
static Expr | CreateKey (Expr key_params) |
Creates a new CreateKey expression. More... | |
static Expr | CreateFunction (Expr function_params) |
Creates a new CreateFunction expression. More... | |
static Expr | CreateRole (Expr role_params) |
Creates a new CreateRole expression. More... | |
static Expr | MoveDatabase (Expr from, Expr to) |
Moves a database to a new hierarchy. More... | |
Methods modeling the FaunaDB query language. This class is intended to be statically imported into your code:
using static FaunaDB.Query.Language;
Each of these methods constructs a Expr, which can then be composed with other methods to form complex expressions.
Definition at line 3 of file Language.Authentication.cs.
|
strong |
Possible actions for functions Insert(Expr, Expr, ActionType, Expr) and Remove(Expr, Expr, ActionType).
Enumerator | |
---|---|
Create | |
Delete |
Definition at line 46 of file Language.Write.cs.
|
strong |
Possible normalizer values accepted by Casefold(Expr, Normalizer).
See the FaunaDB Time and Date Functions
Enumerator | |
---|---|
NFD | |
NFC | |
NFKD | |
NFKC | |
NFKCCaseFold |
Definition at line 20 of file Language.String.cs.
|
strong |
Possible time units accepted by Epoch(Expr, TimeUnit).
See the FaunaDB Time and Date Functions
Enumerator | |
---|---|
Day | |
HalfDay | |
Hour | |
Minute | |
Second | |
Millisecond | |
Microsecond | |
Nanosecond |
Definition at line 20 of file Language.TimeDate.cs.
Creates a new Abs expression.
See the FaunaDB Abs Function
Creates a new AccessProvider expression.
See the docs
.
Creates a new AccessProviders expression.
See the docs
.
Creates a new Acos expression.
See the FaunaDB Acos Function
Creates a new Add expression.
See the FaunaDB Miscellaneous Functions
Evaluates to true if all elements of the collection is true.
All function
collection | A collection expression |
Creates a new And expression.
See the FaunaDB Miscellaneous Functions
Evaluates to true if any element of the collection is true.
Any function
collection | A collection expression |
Creates a new Array value containing the provided enumerable of values.
See the FaunaDB Values
Creates a new Array value containing the provided entries.
See the FaunaDB Values
Creates a new Asin expression.
See the FaunaDB Asin Function
Creates a new Atan expression.
See the FaunaDB Atan Function
Creates a new BitAnd expression.
See the FaunaDB BitAnd Function
Creates a new BitNot expression.
See the FaunaDB BitNot Function
Creates a new BitOr expression.
See the FaunaDB BitOr Function
Creates a new BitXor expression.
See the FaunaDB BitXor Function
|
static |
Creates a new Bytes value
Creates a new Casefold expression.
See the FaunaDB String Functions
|
static |
Creates a new Casefold expression.
See the FaunaDB String Functions
Creates a new Ceil expression.
See the FaunaDB Ceil Function
Creates a new Class expression.
See the FaunaDB Miscellaneous Functions
Returns an internal reference to classes object. Useful to paginate over all classes of a given scope database.
See the FaunaDB Miscellaneous Functions
Creates a new Collection expression.
See the FaunaDB Miscellaneous Functions
Returns an internal reference to collections object. Useful to paginate over all classes of a given scope database.
See the FaunaDB Collections
Creates a new Concat expression.
See the FaunaDB String Functions
Creates a new Contains expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new Contains expression.
See the FaunaDB Miscellaneous Functions
Creates a new ContainsField expression.
See the FaunaDB ConstainsField Function
Creates a new ContainsPath expression.
See the FaunaDB ConstainsPath Function
|
static |
Creates a new ContainsPath expression.
See the FaunaDB ConstainsPath Function
See the FaunaDB ContainsStr Function
See the FaunaDB ContainsStrRegex Function
Creates a new ContainsValue expression.
See the FaunaDB ConstainsValue Function
Creates a new Cos expression.
See the FaunaDB Cos Function
Creates a new Cosh expression.
See the FaunaDB Cosh Function
Returns the number of items that exist in the array or set
See the FaunaDB Count Function
Creates a new CreateAccessProvider expression.
See the docs
.
Returns an internal reference to credentials object. Useful to paginate over all credentials of a given scope database.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new CurrentIdentity expression.
See the docs
.
|
static |
Creates a new CurrentToken expression.
See the docs
.
Creates a new Database expression.
See the FaunaDB Miscellaneous Functions
Returns an internal reference to databases object. Useful to paginate over all databases of a given scope database.
See the FaunaDB Miscellaneous Functions
Creates a new Date expression.
See the FaunaDB Time and Date Functions
Returns a time expression's day of the month, from 1 to 31.
Returns a time expression's day of the week following ISO-8601 convention, from 1 (Monday) to 7 (Sunday).
Returns a time expression's day of the year, from 1 to 365, or 366 in a leap year.
Creates a new Degrees expression.
See the FaunaDB Degrees Function
Creates a new Difference expression.
See the FaunaDB Set Functions
Creates a new Distinct expression.
See the FaunaDB Set Functions
Creates a new Divide expression.
See the FaunaDB Miscellaneous Functions
See the FaunaDB Documents Function
|
static |
Creates a new Date value.
See the FaunaDB Values
|
static |
Creates a new Date value.
See the FaunaDB Values
See the FaunaDB EndsWith Function
Creates a new Epoch expression.
See the FaunaDB Time and Date Functions
Creates a new Epoch expression.
See the FaunaDB Time and Date Functions
Creates a new Equals expression.
See the FaunaDB Miscellaneous Functions
Creates a new Events expression.
See the FaunaDB Set Functions
Creates a new Exists expression.
See the FaunaDB Read Functions
Creates a new Exp expression.
See the FaunaDB Exp Function
Creates a new Filter expression.
FaunaDB Collection Functions
This is the raw version. Usually it's easier to use the overload.
See Filter(Expr, System.Func<Expr, Expr>), Filter(Expr, System.Func<Expr, Expr, Expr>), Filter(Expr, System.Func<Expr, Expr, Expr, Expr>), Filter(Expr, System.Func<Expr, Expr, Expr, Expr, Expr>), Filter(Expr, System.Func<Expr, Expr, Expr, Expr, Expr, Expr>), Filter(Expr, System.Func<Expr, Expr, Expr, Expr, Expr, Expr, Expr>)
collection | A collection expression |
lambda | Lambda expression created by Lambda(Expr, Expr). It must return a boolean value. |
Creates a new Filter expression with a lambda function that receives one argument.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives one argument |
|
static |
Creates a new Filter expression with a lambda function that receives two arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives two arguments |
|
static |
Creates a new Filter expression with a lambda function that receives three arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives three arguments |
|
static |
Creates a new Filter expression with a lambda function that receives four arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives four arguments |
|
static |
Creates a new Filter expression with a lambda function that receives five arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives five arguments |
|
static |
Creates a new Filter expression with a lambda function that receives six arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives six arguments |
Returns the offset position of a string in another string.
See the FaunaDB FindStr Function
|
static |
Returns an array of up to 1024 objects describing where the pattern is found in the search string.
See the FaunaDB FindStrRegex Function
Creates a new Floor expression.
See the FaunaDB Floor Function
Creates a new Foreach expression.
FaunaDB Collection Functions
See Foreach(Expr, System.Func<Expr, Expr>), Foreach(Expr, System.Func<Expr, Expr, Expr>), Foreach(Expr, System.Func<Expr, Expr, Expr, Expr>), Foreach(Expr, System.Func<Expr, Expr, Expr, Expr, Expr>), Foreach(Expr, System.Func<Expr, Expr, Expr, Expr, Expr, Expr>), Foreach(Expr, System.Func<Expr, Expr, Expr, Expr, Expr, Expr, Expr>)
This is the raw version. Usually it's easier to use the overload.
collection | A collection expression |
lambda | Lambda expression created by Lambda(Expr, Expr) |
Creates a new Foreach expression with a lambda function that receives one argument.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives one argument |
|
static |
Creates a new Foreach expression with a lambda function that receives two arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives two arguments |
|
static |
Creates a new Foreach expression with a lambda function that receives three arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives three arguments |
|
static |
Creates a new Foreach expression with a lambda function that receives four arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives four arguments |
|
static |
Creates a new Foreach expression with a lambda function that receives five arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives five arguments |
|
static |
Creates a new Foreach expression with a lambda function that receives six arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives six arguments |
Format values into string.
See the FaunaDB Format Function
Creates a new Function expression.
See the FaunaDB Miscellaneous Functions
Returns an internal reference to functions object. Useful to paginate over all functions of a given scope database.
See the FaunaDB Miscellaneous Functions
Creates a new Get expression.
See the FaunaDB Read Functions
Creates a new GT expression.
See the FaunaDB Miscellaneous Functions
Creates a new GTE expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new HasCurrentIdentity expression.
See the docs
.
|
static |
Creates a new HasCurrentToken expression.
See the docs
.
|
static |
Creates a new HasIdentity expression.
See the docs
.
Returns a time expression's hour of the day, from 0 to 23.
Creates a new Hypot expression.
See the FaunaDB Hypot Function
Creates a new Identify expression.
See the docs
.
ref | Reference to the object |
password | Password to be validated |
|
static |
Creates a new Identity expression.
See the docs
.
Creates a new Index expression.
See the FaunaDB Miscellaneous Functions
Returns an internal reference to indexes object. Useful to paginate over all indexes of a given scope database.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new Intersection expression.
See the FaunaDB Set Functions
Check if the expression is an array.
See the IsArray
.
Check if the expression is a boolean.
See the IsBoolean
.
Check if the expression is a byte array.
See the IsBytes
.
Check if the expression is a collection.
See the IsCollection
.
Check if the expression is a credentials.
See the IsCredentials
.
Check if the expression is a database.
See the IsDatabase
.
Check if the expression is a date.
See the IsDate
.
Check if the expression is a document (either a reference or an instance).
See the IsDoc
.
Check if the expression is a double.
See the IsDouble
.
Creates a new IsEmpty expression.
FaunaDB Collection Functions
collection | A collection expression |
Check if the expression is a function.
See the IsFunction
.
Check if the expression is an index.
See the IsIndex
.
Check if the expression is an integer.
See the IsInteger
.
Check if the expression is a key.
See the IsKey
.
Check if the expression is a lambda.
See the IsLambda
.
Creates a new IsNonEmpty expression.
FaunaDB Collection Functions
collection | A collection expression |
Check if the expression is null.
See the IsNull
.
Check if the expression is a number.
See the IsNumber
.
Check if the expression is an object.
See the IsObject
.
Check if the expression is a reference.
See the IsRef
.
Check if the expression is a role.
See the IsRole
.
Check if the expression is a set.
See the IsSet
.
Check if the expression is a string.
See the IsString
.
Check if the expression is a timestamp.
See the IsTimestamp
.
Check if the expression is a token.
See the IsToken
.
Creates a new Join expression.
See the FaunaDB Set Functions
This is the raw version. Usually it's easier to use the overload.
source | A set resulting from one of the Set Functions |
target | Can be either an index reference or a lambda function |
Creates a new Join expression.
See the FaunaDB Set Functions
Creates a new Join expression.
See the FaunaDB Set Functions
|
static |
Creates a new Join expression.
See the FaunaDB Set Functions
|
static |
Creates a new Join expression.
See the FaunaDB Set Functions
|
static |
Creates a new Join expression.
See the FaunaDB Set Functions
|
static |
Creates a new Join expression.
See the FaunaDB Set Functions
Creates a new KeyFromSecret expression.
See the FaunaDB Read Functions
Returns an internal reference to keys object. Useful to paginate over all keys of a given scope database.
See the FaunaDB Miscellaneous Functions
Creates a new Lambda expression.
This is the raw version. Usually it's easier to use the overload.
See Lambda(System.Func<Expr, Expr>), Lambda(System.Func<Expr, Expr, Expr>), Lambda(System.Func<Expr, Expr, Expr, Expr>), Lambda(System.Func<Expr, Expr, Expr, Expr, Expr>), Lambda(System.Func<Expr, Expr, Expr, Expr, Expr, Expr>), Lambda(System.Func<Expr, Expr, Expr, Expr, Expr, Expr, Expr>)
See the FaunaDB Basic Forms
.
vars | Variable names. Can be a single string or an array of strings |
expr | Any composed expression created by Language |
Creates a lambda expression that receives four arguments.
See the FaunaDB Basic Forms
.
is equivalent to
Definition at line 99 of file Language.Basic.Lambda.cs.
|
static |
Creates a lambda expression that receives five arguments.
See the FaunaDB Basic Forms
.
is equivalent to
Definition at line 127 of file Language.Basic.Lambda.cs.
|
static |
Creates a lambda expression that receives six arguments.
See the FaunaDB Basic Forms
.
is equivalent to
Definition at line 156 of file Language.Basic.Lambda.cs.
Returns the number of code points in the string.
See the FaunaDB Length Function
|
static |
Creates a new Let expression with the provided bindings.
See the FaunaDB Basic Forms
.
k0 | First variable name |
v0 | First variable value |
|
static |
Creates a new Let expression with the provided bindings.
See the FaunaDB Basic Forms
.
k0 | First variable name |
v0 | First variable value |
k1 | Second variable name |
v1 | Second variable value |
|
static |
Creates a new Let expression with the provided bindings.
See the FaunaDB Basic Forms
.
k0 | First variable name |
v0 | First variable value |
k1 | Second variable name |
v1 | Second variable value |
k2 | Third variable name |
v2 | Third variable value |
|
static |
Creates a new Let expression with the provided bindings.
See the FaunaDB Basic Forms
.
k0 | First variable name |
v0 | First variable value |
k1 | Second variable name |
v1 | Second variable value |
k2 | Third variable name |
v2 | Third variable value |
k3 | Fourth variable name |
v3 | Fourth variable value |
|
static |
Creates a new Let expression with the provided bindings.
See the FaunaDB Basic Forms
.
k0 | First variable name |
v0 | First variable value |
k1 | Second variable name |
v1 | Second variable value |
k2 | Third variable name |
v2 | Third variable value |
k3 | Fourth variable name |
v3 | Fourth variable value |
k4 | Fifth variable name |
v4 | Fifth variable value |
|
static |
Creates a new Let expression with the provided bindings.
See the FaunaDB Basic Forms
.
k0 | First variable name |
v0 | First variable value |
k1 | Second variable name |
v1 | Second variable value |
k2 | Third variable name |
v2 | Third variable value |
k3 | Fourth variable name |
v3 | Fourth variable value |
k4 | Fifth variable name |
v4 | Fifth variable value |
k5 | Sixth variable name |
v5 | Sixth variable value |
Creates a new Ln expression.
See the FaunaDB Ln Function
Creates a new Log expression.
See the FaunaDB Log Function
Creates a new Login expression.
See the docs
.
|
static |
Creates a new Logout expression.
See the docs
.
deleteTokens | True will delete all tokens associated with the current session. False will delete only the token used in this request |
Creates a new Logout expression.
See the docs
.
deleteTokens | Expr object where, True will delete all tokens associated with the current session. False will delete only the token used in this request |
Returns a string in which all uppercase characters have been replaced by their corresponding lowercase characters.
See the FaunaDB LowerCase Function
Creates a new LT expression.
See the FaunaDB Miscellaneous Functions
Creates a new LTE expression.
See the FaunaDB Miscellaneous Functions
Removes all white spaces, tabs, and new lines from the beginning of a string.
See the FaunaDB Ltrim Function
Creates a new Map expression.
FaunaDB Collection Functions
This is the raw version. Usually it's easier to use the overload.
See Map(Expr, System.Func<Expr, Expr>), Map(Expr, System.Func<Expr, Expr, Expr>), Map(Expr, System.Func<Expr, Expr, Expr, Expr>), Map(Expr, System.Func<Expr, Expr, Expr, Expr, Expr>), Map(Expr, System.Func<Expr, Expr, Expr, Expr, Expr, Expr>), Map(Expr, System.Func<Expr, Expr, Expr, Expr, Expr, Expr, Expr>)
collection | A collection expression |
lambda | Lambda expression created by Lambda(Expr, Expr) |
Creates a new Map expression with a lambda function that receives one argument.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives one argument |
Creates a new Map expression with a lambda function that receives two arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives two arguments |
|
static |
Creates a new Map expression with a lambda function that receives three arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives three arguments |
|
static |
Creates a new Map expression with a lambda function that receives four arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives four arguments |
|
static |
Creates a new Map expression with a lambda function that receives five arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives five arguments |
|
static |
Creates a new Map expression with a lambda function that receives six arguments.
FaunaDB Collection Functions
collection | A collection expression |
lambda | A lambda function that receives six arguments |
Creates a new Match expression.
See the FaunaDB Set Functions
Creates a new Max expression.
See the FaunaDB Max Function
Returns the average value of the items.
See the FaunaDB Mean Function
Merges two or more objects
Merges two or more objects
|
static |
Merges two or more objects
Creates a new Min expression.
See the FaunaDB Min Function
Returns a time expression's minute of the hour, from 0 to 59.
Creates a new Modulo expression.
See the FaunaDB Miscellaneous Functions
Returns a time expression's month of the year, from 1 to 12.
Creates a new Multiply expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new NewId expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new NextId expression.
See the FaunaDB Miscellaneous Functions
Creates a new NGram expression.
See the FaunaDB String Functions
Creates a new Not expression.
See the FaunaDB Miscellaneous Functions
|
static |
Constructs a Timestamp representing the transaction’s start time.
See the FaunaDB Now Functions
|
static |
Creates a new empty Object value.
See the FaunaDB Values
Creates a new Object value wrapping the provided map.
See the FaunaDB Values
Creates a new Object value with the provided entries.
See the FaunaDB Values
|
static |
Creates a new Object value with the provided entries.
See the FaunaDB Values
|
static |
Creates a new Object value with the provided entries.
See the FaunaDB Values
|
static |
Creates a new Object value with the provided entries.
See the FaunaDB Values
|
static |
Creates a new Object value with the provided entries.
See the FaunaDB Values
|
static |
Creates a new Object value with the provided entries.
See the FaunaDB Values
Creates a new Or expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new Paginate expression.
See the FaunaDB Paginate Function
|
static |
Helper for constructing a PathSelector with the given expression.
See PathSelector
|
static |
Helper for constructing a PathSelector with the given path terms.
See PathSelector
|
static |
Helper for constructing a PathSelector with the given path terms.
See PathSelector
Creates a new Pow expression.
See the FaunaDB Pow Function
Creates a new Radians expression.
See the FaunaDB Radians Function
Filters the set based on the lower/upper bounds (inclusive).
See the FaunaDB Range Function
set | set to be filtered |
from | lower bound |
to | upper bound |
Creates a new Exists expression.
See the FaunaDB Reduce Function
|
static |
Creates a new Exists expression.
See the FaunaDB Reduce Function
Calls ref function to create a ref value.
See the FaunaDB Values
|
static |
Creates a ref value from a string.
See the FaunaDB Values
See the FaunaDB RegexEscape Function
|
static |
Returns a string consisting of the value string repeated number times.
See the FaunaDB Repeat Function
Returns a string consisting of the value string repeated number times.
See the FaunaDB Repeat Function
Replaces a string.
See the FaunaDB ReplaceStr Function
|
static |
Replaces all the occurrences (or the first one) of find pattern substituted with replace string.
See the FaunaDB Length Function
Creates a new Reverse expression.
FaunaDB Reverse Function
expr | An expression |
Creates a new Role expression.
See the FaunaDB Miscellaneous Functions
Returns an internal reference to roles object. Useful to paginate over all roles of a given scope database.
See the FaunaDB Miscellaneous Functions
Creates a new Round expression.
See the FaunaDB Round Function
Replaces a string inside.
See the FaunaDB RTrim Function
Returns a time expression's second of the minute, from 0 to 59.
Creates a new Select expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new Select expression.
See the FaunaDB Miscellaneous Functions
Creates a new SelectAll expression.
See the FaunaDB Miscellaneous Functions
|
static |
Creates a new SelectAll expression.
See the FaunaDB Miscellaneous Functions
Creates a new Sign expression.
See the FaunaDB Sign Function
Creates a new Sin expression.
See the FaunaDB Sin Function
Creates a new Singleton expression.
See the FaunaDB Set Functions
Creates a new Sinh expression.
See the FaunaDB Sinh Function
Replaces a string inside.
See the FaunaDB Space Function
Creates a new Sqrt expression.
See the FaunaDB Sqrt Function
See the FaunaDB StartsWith Function
|
static |
Returns a portion of the string.
See the FaunaDB SubString Function
Creates a new Subtract expression.
See the FaunaDB Miscellaneous Functions
Returns the sum of all items.
See the FaunaDB Sum Function
Creates a new Tan expression.
See the FaunaDB Tan Function
Creates a new Tanh expression.
See the FaunaDB Tanh Function
Creates a new Time expression.
See the FaunaDB Time and Date Functions
Returns a new time or date with the offset in terms of the unit added.
See the TimeAdd
Returns the number of intervals in terms of the unit between two times or dates. Both start and finish must be of the same type.
See the TimeDiff
Returns a new time or date with the offset in terms of the unit subtracted.
See the TimeSubtract
Returns a string which has the first letter of each word capitalized.
See the FaunaDB TitleCase Function
Try to convert an object into an array of (field, value).
See the ToArray
Converts an expression to a date literal.
Casts an expression to a double value, if possible.
See the ToDouble
Casts an expression to an integer value, if possible.
See the ToInteger
Returns an internal reference to tokens object. Useful to paginate over all tokens of a given scope database.
See the FaunaDB Miscellaneous Functions
Converts a time expression to microseconds since the UNIX epoch.
Converts a time expression to milliseconds since the UNIX epoch.
Converts an expression to a number literal.
Try to convert an array of (field, value) into an object.
See the ToObject
Converts a time expression to seconds since the UNIX epoch.
Converts an expression to a string literal.
Converts an expresion to a time literal.
Returns a string which has both the leading and trailing white spaces, tabs, and new lines removed.
See the FaunaDB Trim Function
Creates a new Trunc expression.
See the FaunaDB Trunc Function
|
static |
Creates a new Timestamp value.
See the FaunaDB Values
|
static |
Creates a new Timestamp value.
See the FaunaDB Values
Creates a new Union expression.
See the FaunaDB Set Functions
Returns a string which has all lowercase characters in the string replaced by their corresponding uppercase characters.
See the FaunaDB UpperCase Function
|
static |
Returns the time expression's year, following the ISO-8601 standard.