Versions in this module Expand all Collapse all v0 v0.1.3 Jun 4, 2023 Changes in this version + type Exporter interface + Add func(bundle *pathbuilder.Bundle, entity *wisski.Entity) error + Begin func(bundle *pathbuilder.Bundle, count int64) error + End func(bundle *pathbuilder.Bundle) error + type Map struct + Data map[string][]wisski.Entity + func (mp *Map) Add(bundle *pathbuilder.Bundle, entity *wisski.Entity) error + func (mp *Map) Begin(bundle *pathbuilder.Bundle, count int64) error + func (mp *Map) Close() error + func (mp *Map) End(bundle *pathbuilder.Bundle) error + type SQL struct + BatchSize int + DB *sql.DB + MakeFieldTables bool + MaxQueryVar int + Separator string + func (*SQL) BundleTable(bundle *pathbuilder.Bundle) string + func (*SQL) FieldColumn(field pathbuilder.Field) string + func (*SQL) FieldTable(bundle *pathbuilder.Bundle, field pathbuilder.Field) string + func (sql *SQL) Add(bundle *pathbuilder.Bundle, entity *wisski.Entity) (err error) + func (sql *SQL) Begin(bundle *pathbuilder.Bundle, count int64) error + func (sql *SQL) Close() error + func (sql *SQL) CreateFieldTable(bundle *pathbuilder.Bundle, field pathbuilder.Field) error + func (sql *SQL) End(bundle *pathbuilder.Bundle) error