Skip to content

query ¤

Protocols and types for building and executing queries in the Fluree ledger.

Classes:

QueryBuilder ¤

Bases: SupportsContext['QueryBuilder'], SupportsWhere['QueryBuilder'], SupportsRequestCreation, SupportsCommitable, Protocol

Protocol for building query operations.

Methods:

  • acommit

    Executes the transaction asynchronously.

  • commit

    Executes the transaction synchronously.

acommit async ¤

acommit() -> FlureeResponse

Executes the transaction asynchronously.

Raises:

  • RequestError

    If the HTTP request fails.

  • TypeError

    If the type parameter cannot be resolved.

commit ¤

commit() -> FlureeResponse

Executes the transaction synchronously.

Raises:

  • RequestError

    If the HTTP request fails.

  • TypeError

    If the type parameter cannot be resolved.