Module: SurrealDB::Native

Extended by:
FFI::Library
Defined in:
lib/surrealdb/native/ffi.rb,
lib/surrealdb/native/platform.rb

Defined Under Namespace

Modules: Platform Classes: SrOption

Constant Summary collapse

SR_NONE =

Return code constants from surrealdb.h

0
SR_CLOSED =

success / no more items

-1  # stream closed
SR_ERROR =

stream closed

-2  # recoverable error
SR_FATAL =

recoverable error

-3  # connection poisoned, must not reuse