Documentation ¶
Index ¶
- Constants
- type DB
- func (db *DB) CreateTable(ctx context.Context, opt offline.CreateTableOpt) error
- func (db *DB) Export(ctx context.Context, opt offline.ExportOpt) (*types.ExportResult, error)
- func (db *DB) Import(ctx context.Context, opt offline.ImportOpt) (int64, error)
- func (db *DB) Join(ctx context.Context, opt offline.JoinOpt) (*types.JoinResult, error)
- func (db *DB) Ping(ctx context.Context) error
- func (db *DB) Push(ctx context.Context, opt offline.PushOpt) error
- func (db *DB) Snapshot(ctx context.Context, opt offline.SnapshotOpt) error
- func (db *DB) TableSchema(ctx context.Context, opt offline.TableSchemaOpt) (*types.DataTableSchema, error)
Constants ¶
View Source
const (
Backend = types.BackendPostgres
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) CreateTable ¶ added in v0.0.4
func (*DB) TableSchema ¶ added in v0.0.4
func (db *DB) TableSchema(ctx context.Context, opt offline.TableSchemaOpt) (*types.DataTableSchema, error)
Click to show internal directories.
Click to hide internal directories.