# src/allographer/query_builder/models/sqlite/sqlite_query

Theme:

- Index

Search:
Group by:

# Imports

../../libs/sqlite/sqlite_impl, ../../enums, sqlite_types

# Procs

    proc `distinct`(self: SqliteQuery): SqliteQuery {....raises: [], tags: [],
        forbids: [].}

    proc groupBy(self: SqliteQuery; column: string): SqliteQuery {.
        ...raises: [KeyError], tags: [], forbids: [].}

    proc having(self: SqliteQuery; column: string; symbol: string;
                value: string | int | float | bool): SqliteQuery

    proc having(self: SqliteQuery; column: string; symbol: string; value: nil.type): SqliteQuery {.
        ...raises: [CatchableError, KeyError], tags: [], forbids: [].}

    proc join(self: SqliteQuery; table: string; column1: string; symbol: string;
              column2: string): SqliteQuery {....raises: [KeyError], tags: [],
        forbids: [].}

    proc leftJoin(self: SqliteQuery; table: string; column1: string; symbol: string;
                  column2: string): SqliteQuery {....raises: [KeyError], tags: [],
        forbids: [].}

    proc limit(self: SqliteQuery; num: int): SqliteQuery {....raises: [], tags: [],
        forbids: [].}

    proc offset(self: SqliteQuery; num: int): SqliteQuery {....raises: [], tags: [],
        forbids: [].}

    proc orderBy(self: SqliteQuery; column: string; order: Order): SqliteQuery {.
        ...raises: [KeyError], tags: [], forbids: [].}

    proc orWhere(self: SqliteQuery; column: string; symbol: string;
                 value: string | int | float | bool): SqliteQuery

    proc orWhere(self: SqliteQuery; column: string; symbol: string; value: nil.type): SqliteQuery {.
        ...raises: [CatchableError, KeyError], tags: [], forbids: [].}

    proc raw(self: SqliteConnections; sql: string; arges = newJArray()): RawSqliteQuery {.
        ...raises: [], tags: [], forbids: [].}

  arges is `JArray`

  can't use BLOB data.

    proc select(self: SqliteConnections; columnsArg: varargs[string]): SqliteQuery {.
        ...raises: [], tags: [], forbids: [].}

    proc table(self: SqliteConnections; tableArg: string): SqliteQuery {....raises: [],
        tags: [], forbids: [].}

    proc table(self: SqliteQuery; tableArg: string): SqliteQuery {....raises: [],
        tags: [], forbids: [].}

    proc where(self: SqliteQuery; column: string; symbol: string;
               value: string | int | float): SqliteQuery

    proc where(self: SqliteQuery; column: string; symbol: string; value: bool): SqliteQuery {.
        ...raises: [CatchableError, KeyError], tags: [], forbids: [].}

    proc where(self: SqliteQuery; column: string; symbol: string; value: nil.type): SqliteQuery {.
        ...raises: [CatchableError, KeyError], tags: [], forbids: [].}

    proc whereBetween(self: SqliteQuery; column: string;
                      width: array[2, int | float]): SqliteQuery

    proc whereBetween(self: SqliteQuery; column: string; width: array[2, string]): SqliteQuery {.
        ...raises: [KeyError], tags: [], forbids: [].}

    proc whereIn(self: SqliteQuery; column: string; width: seq[int | float | string]): SqliteQuery

    proc whereNotBetween(self: SqliteQuery; column: string;
                         width: array[2, int | float]): SqliteQuery

    proc whereNotBetween(self: SqliteQuery; column: string; width: array[2, string]): SqliteQuery {.
        ...raises: [KeyError], tags: [], forbids: [].}

    proc whereNotIn(self: SqliteQuery; column: string;
                    width: seq[int | float | string]): SqliteQuery

    proc whereNull(self: SqliteQuery; column: string): SqliteQuery {.
        ...raises: [KeyError], tags: [], forbids: [].}