Documentation
¶
Index ¶
- type Client
- type DataLoader
- type TableRepository
- func (r *TableRepository) CreateTable(ctx context.Context, schema string, table string, columns []domain.Field) error
- func (r *TableRepository) IsTableExist(ctx context.Context, schema string, table string) (bool, error)
- func (r *TableRepository) TruncateTable(ctx context.Context, schema string, table string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(config config.DatabaseConnectionConfig) *Client
type DataLoader ¶
type DataLoader struct {
// contains filtered or unexported fields
}
func CreateDataLoader ¶
func CreateDataLoader(client *Client) *DataLoader
type TableRepository ¶
type TableRepository struct {
// contains filtered or unexported fields
}
func CreateTableRepository ¶
func CreateTableRepository(client *Client) *TableRepository
func (*TableRepository) CreateTable ¶
func (*TableRepository) IsTableExist ¶
func (*TableRepository) TruncateTable ¶
Click to show internal directories.
Click to hide internal directories.