Versions in this module Expand all Collapse all v2 v2.0.2 Oct 16, 2024 v2.0.1 Apr 10, 2024 Changes in this version + type Opt struct + DBType string + ResultsTable string + UnloggedTables bool + type SQLDBResultSet struct + func (w *SQLDBResultSet) Close() error + func (w *SQLDBResultSet) Flush() error + func (w *SQLDBResultSet) IsColTypesRegistered() bool + func (w *SQLDBResultSet) RegisterColTypes(cols []string, colTypes []*sql.ColumnType) error + func (w *SQLDBResultSet) WriteCols(cols []string) error + func (w *SQLDBResultSet) WriteRow(row []interface{}) error + type SqlDB struct + func NewSQLBackend(db *sql.DB, opt Opt, lo *slog.Logger) (*SqlDB, error) + func (s *SqlDB) NewResultSet(jobID, taskName string, ttl time.Duration) (models.ResultSet, error)