FaunaClient class

The Dart native client for FaunaDB.

Query methods are asynchronous and return a Future.

The close() method must be called in order to release the FaunaClient I/O resources.

Constructors

FaunaClient(FaunaConfig config)
Creates a FaunaClient. A valid config is required.

Properties

config FaunaConfig
Client configuration
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes and releases all client resources.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query(Object expression, {FaunaConfig? options}) Future<FaunaResponse>
Executes a query via the FaunaDB Query API.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited