src/allographer/query_builder/libs/mysql/mysql_lib

Types

MysqlParamValue = object
  value*: string
  isBinary*: bool

Procs

proc dbError(db: PMySQL) {.noreturn, ...raises: [DbError], tags: [], forbids: [].}
raises a DbError exception.
proc dbFormat(conn: PMySQL; query: string; args: MysqlParams): string {.
    ...raises: [], tags: [], forbids: [].}
proc dbFormat(formatstr: string; args: seq[string]): string {....raises: [],
    tags: [], forbids: [].}
proc fromObj(_: type MysqlParams; args: JsonNode; columns: seq[seq[string]]): MysqlParams
args is JArray [{"key":"id", "value": 1}, {"key": "name" "value": "alice"}]
proc setColumnInfo(columns: var DbColumns; res: PRES; L: int) {....raises: [],
    tags: [], forbids: [].}