Documentation
¶
Index ¶
- Variables
- type DatabaseType
- type Fields
- type Loader
- func (l *Loader) Delete(ctx context.Context, collectionName string, id string) error
- func (l *Loader) GetCursor(ctx context.Context, outputModuleHash string) (*sink.Cursor, error)
- func (l *Loader) Ping(ctx context.Context) error
- func (l *Loader) Save(ctx context.Context, collectionName string, id string, ...) error
- func (l *Loader) Update(ctx context.Context, collectionName string, id string, ...) error
- func (l *Loader) WriteCursor(ctx context.Context, moduleHash string, c *sink.Cursor) error
- type Tables
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCursorNotFound = errors.New("cursor not found")
Functions ¶
This section is empty.
Types ¶
type DatabaseType ¶
type DatabaseType string
const ( INTEGER DatabaseType = "integer" DOUBLE DatabaseType = "double" BOOLEAN DatabaseType = "boolean" TIMESTAMP DatabaseType = "timestamp" NULL DatabaseType = "null" DATE DatabaseType = "date" )
type Fields ¶
type Fields map[string]DatabaseType
Click to show internal directories.
Click to hide internal directories.