MCPcopy Create free account
hub / github.com/asg017/sqlite-loadable-rs / SeriesModule

Struct SeriesModule

benchmarks/series/series.go:18–18  ·  view source on GitHub ↗

SeriesModule implements a virtual table module that provides gen_series tables-valued function The source of this file is adapted from the c implementation at https://sqlite.org/src/file/ext/misc/series.c

Source from the content-addressed store, hash-verified

16// SeriesModule implements a virtual table module that provides gen_series tables-valued function
17// The source of this file is adapted from the c implementation at https://sqlite.org/src/file/ext/misc/series.c
18type SeriesModule struct{}
19
20func (s *SeriesModule) Connect(_ *sqlite.Conn, _ []string, declare func(string) error) (sqlite.VirtualTable, error) {
21 return &SeriesTable{}, declare("CREATE TABLE series(value,start hidden,stop hidden,step hidden)")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected