# src/allographer/query_builder/libs/surreal/surreal_impl

Theme:

- Index

Search:
Group by:

# Imports

../../error, surreal_rdb, surreal_lib

# Types

    SurrealImpl = ref object

# Procs

    proc exec(db: SurrealConn; query: string; args: JsonNode; timeout: int): owned(
        Future[void]) {....stackTrace: false, raises: [Exception, ValueError, DbError,
        HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
        KeyError], tags: [RootEffect, TimeEffect, ReadIOEffect, WriteIOEffect],
                        forbids: [].}

    proc exec(db: SurrealConn; query: string; args: seq[string]; timeout: int): owned(
        Future[void]) {....stackTrace: false, raises: [Exception, ValueError, DbError,
        HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
        KeyError], tags: [RootEffect, TimeEffect, ReadIOEffect, WriteIOEffect],
                        forbids: [].}

    proc info(db: SurrealConn; query: string; args: JsonNode; timeout: int): Future[
        JsonNode] {....stackTrace: false, raises: [Exception, ValueError, DbError,
        HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
        KeyError], tags: [RootEffect, TimeEffect, ReadIOEffect, WriteIOEffect],
                    forbids: [].}

    proc info(db: SurrealConn; query: string; args: seq[string]; timeout: int): Future[
        JsonNode] {....stackTrace: false, raises: [Exception, ValueError, DbError,
        HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
        KeyError], tags: [RootEffect, TimeEffect, ReadIOEffect, WriteIOEffect],
                    forbids: [].}

    proc query(db: SurrealConn; query: string; args: JsonNode; timeout: int): Future[
        JsonNode] {....stackTrace: false, raises: [Exception, ValueError, DbError,
        HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
        KeyError], tags: [RootEffect, TimeEffect, ReadIOEffect, WriteIOEffect],
                    forbids: [].}

  return JArray

    proc query(db: SurrealConn; query: string; args: seq[string]; timeout: int): Future[
        JsonNode] {....stackTrace: false, raises: [Exception, ValueError, DbError,
        HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
        KeyError], tags: [RootEffect, TimeEffect, ReadIOEffect, WriteIOEffect],
                    forbids: [].}

  return JArray