src/allographer/query_builder/models/sqlite/sqlite_types

created by let rdb = dbOpen(SQLite3, "/path/to/sqlite.db")created by rdb.select("columnName") or rdb.table("tableName")

Types

Connection = ref object
  conn*: PSqlite3
  isBusy*: bool
  createdAt*: int64
Connections = ref object
  conns*: seq[Connection]
  timeout*: int              ## `getFreeConn` ใŒๆŽฅ็ถšใ‚’ๅพ…ใคใจใใซ็ฉใ‚€ Futureใ€‚`returnConn` ใŒๅ…ˆ้ ญใ‹ใ‚‰ 1 ไปถใ ใ‘ๅฎŒไบ†ใ•ใ›ใ‚‹ใ€‚
  waiters*: Deque[Future[void]] ## `exec` / `insertId` ็”จใ€‚ใƒ†ใƒผใƒ–ใƒซใ”ใจใซ PRAGMA table_info ใฎ็ตๆžœใ‚’ๅˆๅ›žใฎใฟไฟๆŒใ™ใ‚‹ใ€‚
  columnTypeCache*: Table[string, seq[(string, string)]]
RawSqliteQuery = ref object
  log*: LogSetting
  pools*: Connections
  query*: JsonNode
  queryString*: string
  placeHolder*: JsonNode
  isInTransaction*: bool
  transactionConn*: int
SQLite3 = object
SqliteConnections = ref object
  log*: LogSetting
  pools*: Connections
  isInTransaction*: bool
  transactionConn*: int
SqliteQuery = ref object
  log*: LogSetting
  pools*: Connections
  query*: JsonNode
  queryString*: string
  placeHolder*: JsonNode
  isInTransaction*: bool
  transactionConn*: int