src/allographer/query_builder/models/surreal/query/surreal_generator

Search:
Group by:

Procs

proc deleteByIdSql(self: SurrealQuery; id: string): SurrealQuery {....raises: [],
    tags: [], forbids: [].}
proc deleteSql(self: SurrealQuery): SurrealQuery {....raises: [], tags: [],
    forbids: [].}
proc fetchSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc fromSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc groupAllSql(self: SurrealQuery): SurrealQuery {....raises: [], tags: [],
    forbids: [].}
proc groupBySql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc insertSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc insertValueSql(self: SurrealQuery; items: JsonNode): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc insertValuesSql(self: SurrealQuery; rows: openArray[JsonNode]): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc limitSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc maxFromSql(self: SurrealQuery; column: string): SurrealQuery {.
    ...raises: [KeyError], tags: [], forbids: [].}
proc orderBySql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc orWhereSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc parallelSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc quote(input: string): string {....raises: [], tags: [], forbids: [].}

"User.id as userId" => User.id as userId

"count(id) as count" => count(id) as count

"math::max(id) as maxId" => math::max(id) as maxId

proc selectAvgSql(self: SurrealQuery; column: string): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc selectByIdSql(self: SurrealQuery; id: SurrealId; key: string): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc selectCountSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc selectFirstSql(self: SurrealQuery): SurrealQuery {....raises: [], tags: [],
    forbids: [].}
proc selectSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc selectSumSql(self: SurrealQuery; column: string): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc startSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc updateMergeSql(self: SurrealQuery; id: string; items: JsonNode): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc updateSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}
proc updateValuesSql(self: SurrealQuery; items: JsonNode): SurrealQuery {.
    ...raises: [], tags: [], forbids: [].}
proc whereBetweenSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc whereInSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc whereNotBetweenSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc whereNotInSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc whereNullSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError],
    tags: [], forbids: [].}
proc whereSql(self: SurrealQuery): SurrealQuery {....raises: [KeyError], tags: [],
    forbids: [].}