sg_engine

Functions

pub fn add_default_field(
  e: List(#(String, FieldType, Result(String, String))),
  field: String,
  field_type: FieldType,
  d: DefaultFieldType,
) -> List(#(String, FieldType, Result(String, String)))
pub fn add_field(
  e: List(#(String, FieldType, Result(String, String))),
  field: String,
  field_type: FieldType,
) -> List(#(String, FieldType, Result(String, String)))
pub fn create_database(name: String) -> Result(String, String)
pub fn create_namespace(name: String) -> Result(String, String)
pub fn create_table_schemafull(
  entity_definition: List(
    #(String, FieldType, Result(String, String)),
  ),
  name: String,
) -> Result(TableEntity, List(Result(String, String)))
pub fn create_table_schemaless(
  entity_definition: List(
    #(String, FieldType, Result(String, String)),
  ),
  name: String,
) -> Result(TableEntity, List(Result(String, String)))
pub fn emit_fields(
  x: List(#(String, FieldType, Result(String, String))),
  table: String,
) -> List(Result(String, String))
pub fn exec(lines: List(Result(String, String))) -> Nil
pub fn execute_transaction(
  statements: List(Result(String, String)),
  token: String,
) -> Result(String, String)
pub fn find_field(x: FieldType) -> String
pub fn generate(
  e: List(#(String, FieldType, Result(String, String))),
) -> List(#(String, FieldType, Result(String, String)))
pub fn root_sign_in(
  username: String,
  password: String,
) -> Result(String, String)
pub fn use_database(name: String) -> Result(String, String)
pub fn use_namespace(name: String) -> Result(String, String)
Search Document