chore: ⬆️ updated deps
This commit is contained in:
+19
-5
@@ -12,6 +12,8 @@ import (
|
||||
)
|
||||
|
||||
// Driver implements database/sql/driver.Driver.
|
||||
//
|
||||
// Registration functions and methods must be called before the first call to Open.
|
||||
type Driver struct {
|
||||
// user defined functions that are added to every new connection on Open
|
||||
udfs map[string]*userDefinedFunction
|
||||
@@ -51,11 +53,12 @@ func newDriver() *Driver { return d }
|
||||
// keyword added for you). May be specified more than once, '&'-separated. For more
|
||||
// information on supported PRAGMAs see: https://www.sqlite.org/pragma.html
|
||||
//
|
||||
// _time_format: The name of a format to use when writing time values to the
|
||||
// database. Currently the only supported value is "sqlite", which corresponds
|
||||
// to format 7 from https://www.sqlite.org/lang_datefunc.html#time_values,
|
||||
// including the timezone specifier. If this parameter is not specified, then
|
||||
// the default String() format will be used.
|
||||
// _time_format: The name of a format to use when writing time values to the database.
|
||||
// The currently supported values are (1) "sqlite" for YYYY-MM-DD HH:MM:SS.SSS[+-]HH:MM
|
||||
// (format 4 from https://www.sqlite.org/lang_datefunc.html#time_values with sub-second
|
||||
// precision and timezone specifier) and (2) "datetime" for YYYY-MM-DD HH:MM:SS
|
||||
// (format 3, matching the output of SQLite's datetime() function).
|
||||
// If this parameter is not specified, then the default String() format will be used.
|
||||
//
|
||||
// _time_integer_format: The name of a integer format to use when writing time values.
|
||||
// By default, the time is stored as string and the format can be set with _time_format
|
||||
@@ -70,6 +73,17 @@ func newDriver() *Driver { return d }
|
||||
// _inttotime: Enable conversion of time column (DATE, DATETIME,TIMESTAMP) from integer
|
||||
// to time if the field contain integer (int64).
|
||||
//
|
||||
// _texttotime: Enable ColumnTypeScanType to report time.Time instead of string
|
||||
// for TEXT columns declared as DATE, DATETIME, TIME, or TIMESTAMP.
|
||||
//
|
||||
// _timezone: A timezone to use for all time reads and writes, such as "UTC".
|
||||
// The value is parsed by time.LoadLocation.
|
||||
// Writes will convert to the timezone before formatting as a string;
|
||||
// it does not impact _inttotime integer values, as they always use UTC.
|
||||
// Reads will interpret timezone-less strings as being in this timezone.
|
||||
// Values that are in a known timezone, such as a string with a timezone specifier
|
||||
// or an integer with _inttotime (specified to be in UTC), will be converted to this timezone.
|
||||
//
|
||||
// _txlock: The locking behavior to use when beginning a transaction. May be
|
||||
// "deferred" (the default), "immediate", or "exclusive" (case insensitive). See:
|
||||
// https://www.sqlite.org/lang_transaction.html#deferred_immediate_and_exclusive_transactions
|
||||
|
||||
Reference in New Issue
Block a user