Documentation ¶
Index ¶
- func DatabaseFactory(conf config.Database) (db database.Database, err error)
- func MigrationFactory(engine database.Engine) []string
- func RelationshipReaderFactory(db database.Database) (repo repositories.RelationshipReader)
- func RelationshipWriterFactory(db database.Database) (repo repositories.RelationshipWriter)
- func SchemaReaderFactory(db database.Database) (repo repositories.SchemaReader)
- func SchemaWriterFactory(db database.Database) (repo repositories.SchemaWriter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseFactory ¶
DatabaseFactory - Create database according to given configuration
func MigrationFactory ¶
MigrationFactory - Get migrations according to given engine
func RelationshipReaderFactory ¶
func RelationshipReaderFactory(db database.Database) (repo repositories.RelationshipReader)
RelationshipReaderFactory - Return relationship read operations according to given database interface
func RelationshipWriterFactory ¶
func RelationshipWriterFactory(db database.Database) (repo repositories.RelationshipWriter)
RelationshipWriterFactory - Return relationship write operations according to given database interface
func SchemaReaderFactory ¶
func SchemaReaderFactory(db database.Database) (repo repositories.SchemaReader)
SchemaReaderFactory - Return schema read operations according to given database interface
func SchemaWriterFactory ¶
func SchemaWriterFactory(db database.Database) (repo repositories.SchemaWriter)
SchemaWriterFactory - Return schema write operations according to given database interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.