Versions in this module Expand all Collapse all v0 v0.1.0 Oct 24, 2025 Changes in this version + var DBTypes = createBaseTree() + var RequestTypes = []RequestType + type Capabilities string + const IsFile + const SupportsBSON + const SupportsJSON + const SupportsJSONB + const SupportsSQLLike + type DBType int + const TypeGraph + const TypeNoSQL + const TypeSQL + const TypeTimeSeries + const TypeUndefined + func (i DBType) String() string + func (t DBType) BaseType() Type + type DBTypeNode struct + Children []*DBTypeNode + Name string + Properties map[string]string + TrueName string + func (n *DBTypeNode) Register(path ...string) + type DataSourceNameRequest interface + type DataSourceNamer interface + DSN func() string + Info func() string + Type func() Type + type Database interface + Close func(context.Context) error + IsClosed func() bool + Open func(context.Context) error + Ping func(context.Context) error + Request func(context.Context, Request) (any, error) + Type func() Type + type GraphType int + const NumSupportedGraphModels + func (i GraphType) String() string + func (t GraphType) BaseType() Type + type NoSQL interface + Client func() NoSQLClient + type NoSQLClient interface + Close func(context.Context) error + Create func(any) + Delete func(any) + Open func(context.Context) error + Ping func(context.Context) error + Read func(any) + ReadMany func(any) + SetConnectionProperties func(map[string]string) + Update func(any) + type NoSQLModelType int + const Firestore + const MongoDB + const NumSupportedNoSQLModels + const Redis + func (i NoSQLModelType) String() string + func (t NoSQLModelType) BaseType() Type + type Request interface + IsPrefab func() bool + ResponseOnError func() Response + ResponseOnSuccess func() Response + type RequestType int + const Create + const Delete + const NoOp + const Read + const Update + type Response interface + Code func() int + Message func() string + type SQL interface + Dialect func() SQLDialect + type SQLDialect interface + Capabilities func() []Capabilities + ConnectionStringTemplate func() *template.Template + GetPrefab func(Request) (string, []any, error) + GetTemplate func(RequestType) string + IncreamentPlaceholder func() string + Name func() string + Quote func(string) string + QuoteRune func() rune + RenderCurrentTimestamp func() string + RenderPlaceholder func(index int) string + RenderTypeCast func() string + RenderValue func(any) string + ResolveType func(string, []byte) (any, error) + type SQLDialectType int + const MySQL + const NumSupportedSQLDialects + const PostgreSQL + const SQLite3 + func (i SQLDialectType) String() string + func (t SQLDialectType) BaseType() Type + type TimeSeriesType int + const NumSupportedTimeSeries + func (i TimeSeriesType) String() string + func (t TimeSeriesType) BaseType() Type + type Type interface + BaseType func() Type