View Code? Open in Web Editor
NEW
A PHP Library for interacting with FaunaDB and writing FQL
License: MIT License
faunadb-php's Issues
- Ref()
- Bytes(bytes)
- Abort(msg)
- At(timestamp, expr)
- Let(vars, expr)
- Var(varName)
- If(condition, then, _else)
- Do()
- Call(ref)
- Query(lambda)
- Map(collection, lambda_expr)
- Foreach(collection, lambda_expr)
- Filter(collection, lambda_expr)
- Take(number, collection)
- Drop(number, collection)
- Prepend(elements, collection)
- Append(elements, collection)
- IsEmpty(collection)
- IsNonEmpty(collection)
- IsNumber(expr)
- IsDouble(expr)
- IsInteger(expr)
- IsBoolean(expr)
- IsNull(expr)
- IsBytes(expr)
- IsTimestamp(expr)
- IsDate(expr)
- IsString(expr)
- IsArray(expr)
- IsObject(expr)
- IsRef(expr)
- IsSet(expr)
- IsDoc(expr)
- IsLambda(expr)
- IsCollection(expr)
- IsDatabase(expr)
- IsIndex(expr)
- IsFunction(expr)
- IsKey(expr)
- IsToken(expr)
- IsCredentials(expr)
- IsRole(expr)
- Get(ref, ts)
- KeyFromSecret(secret)
- Reduce(lambda, initial, collection)
- Paginate(set, opts)
- Exists(ref, ts)
- Create(collection_ref, params)
- Update(ref, params)
- Replace(ref, params)
- Delete(ref)
- Insert(ref, ts, action, params)
- Remove(ref, ts, action)
- CreateClass(params)
- CreateCollection(params)
- CreateDatabase(params)
- CreateIndex(params)
- CreateKey(params)
- CreateFunction(params)
- CreateRole(params)
- CreateAccessProvider(params)
- Singleton(ref)
- Events(ref_set)
- Match(index)
- Union()
- Merge(merge, _with, lambda)
- Intersection()
- Difference()
- Distinct(set)
- Join(source, target)
- Range(set, from, to)
- Login(ref, params)
- Logout(delete_tokens)
- Identify(ref, password)
- Identity()
- CurrentIdentity()
- HasIdentity()
- HasCurrentIdentity()
- CurrentToken()
- HasCurrentToken()
- Concat(strings, separator)
- Casefold(string, normalizer)
- ContainsStr(value, search)
- ContainsStrRegex(value, pattern)
- StartsWith(value, search)
- EndsWith(value, search)
- RegexEscape(value)
- FindStr(value, find, start)
- FindStrRegex(value, pattern, start, numResults)
- Length(value)
- LowerCase(value)
- LTrim(value)
- NGram(terms, min, max)
- Repeat(value, number)
- ReplaceStr(value, find, replace)
- ReplaceStrRegex(value, pattern, replace, first)
- RTrim(value)
- Space(num)
- SubString(value, start, length)
- TitleCase(value)
- Trim(value)
- UpperCase(value)
- Format(string)
- Time(string)
- Epoch(number, unit)
- TimeAdd(base, offset, unit)
- TimeSubtract(base, offset, unit)
- TimeDiff(start, finish, unit)
- Date(string)
- Now()
- NextId()
- NewId()
- Database(name, scope)
- Index(name, scope)
- Class(name, scope)
- Collection(name, scope)
- FunctionFn(name, scope)
- Role(name, scope)
- AccessProviders(scope)
- Classes(scope)
- Collections(scope)
- Databases(scope)
- Indexes(scope)
- Functions(scope)
- Roles(scope)
- Keys(scope)
- Tokens(scope)
- Credentials(scope)
- Equals()
- Contains(path, _in)
- ContainsValue(value, _in)
- ContainsField(field, obj)
- ContainsPath(path, _in)
- Select(path, from, _default)
- SelectAll(path, from)
- Abs(expr)
- Add()
- BitAnd()
- BitNot(expr)
- BitOr()
- BitXor()
- Ceil(expr)
- Divide()
- Floor(expr)
- Max()
- Min()
- Modulo()
- Multiply()
- Round(value, precision)
- Subtract()
- Sign(expr)
- Sqrt(expr)
- Trunc(value, precision)
- Count(collection)
- Sum(collection)
- Mean(collection)
- Any(collection)
- All(collection)
- Acos(expr)
- Asin(expr)
- Atan(expr)
- Cos(expr)
- Cosh(expr)
- Degrees(expr)
- Exp(expr)
- Hypot(value, side)
- Ln(expr)
- Log(expr)
- Pow(value, exponent)
- Radians(expr)
- Sin(expr)
- Sinh(expr)
- Tan(expr)
- Tanh(expr)
- LT()
- LTE()
- GT()
- GTE()
- And()
- Or()
- Not(boolean)
- ToString(expr)
- ToNumber(expr)
- ToObject(expr)
- ToArray(expr)
- ToDouble(expr)
- ToInteger(expr)
- ToTime(expr)
- ToSeconds(expr)
- ToMillis(expr)
- ToMicros(expr)
- DayOfWeek(expr)
- DayOfYear(expr)
- DayOfMonth(expr)
- Hour(expr)
- Minute(expr)
- Second(expr)
- Month(expr)
- Year(expr)
- ToDate(expr)
- MoveDatabase(from, to)
- Documents(collection)
- Reverse(expr)
- AccessProvider(name)