# src/allographer/schema_builder/queries/surreal/create_sequence_table

Theme:

- Index

Search:
Group by:

# Imports

../../../query_builder/models/surreal/surreal_types, ../../../query_builder/models/surreal/surreal_query, ../../../query_builder/models/surreal/surreal_exec, ../../models/table

# Procs

    proc createSequenceTable(rdb: SurrealConnections) {.
        ...raises: [ValueError, Exception, OSError, IOError, KeyError], tags: [
        TimeEffect, RootEffect, WriteDirEffect, ReadDirEffect, ReadIOEffect,
        WriteIOEffect], forbids: [].}

  if _autoincrement_sequences table is not exists, create it

    proc resetSequence(rdb: SurrealConnections; table: Table) {....raises: [ValueError,
        Exception, OSError, KeyError, IOError, DbError, HttpRequestError,
        LibraryError, SslError, ProtocolError, CatchableError], tags: [TimeEffect,
        RootEffect, WriteDirEffect, ReadDirEffect, ReadIOEffect, WriteIOEffect],
        forbids: [].}