This module provides the auto-converters used by the SQLite module. it's here because it's quite frankly a lot of boring boilerplate that needs to be there or else the user won't have a good experience.
But it really is nothing but dull code that must exist, so I don't wanna lump it in with the main sqlite module and confuse users.
If you're here, and confused, then don't worry about this and just go back to what you were doing.
Procs
proc toDbValue[T: bool](v: T): DbValue
-
This procedure is used to implicitly convert booleans to integers for use by sqlite.
You do not need to worry about this.
Source Edit proc toDbValue[T: seq[byte]](v: T): DbValue
-
This procedure is used to implicitly convert normal integers to their "database value" counterparts so they can be easily used.
You do not need to worry about this.
Source Edit proc toDbValue[T: SomeFloat](v: T): DbValue
-
This procedure is used to implicitly convert normal integers to their "database value" counterparts so they can be easily used.
You do not need to worry about this.
Source Edit proc toDbValue[T: SomeInteger](v: T): DbValue
-
This procedure is used to implicitly convert normal integers to their "database value" counterparts so they can be easily used.
You do not need to worry about this.
Source Edit