Documentation ¶
Index ¶
Constants ¶
View Source
const (
FuncTag = "func:"
)
View Source
const (
Nullable = "Nullable"
)
Variables ¶
This section is empty.
Functions ¶
func OpenCK ¶
func OpenCK(db schema.ExecQuerier) (*ckDriver, error)
Types ¶
type AtlasBase ¶
type AtlasBase struct { schema.Inspector Options ImportOptions Types map[string]*gen.Type // contains filtered or unexported fields }
AtlasBase is the base struct witch can be used by Atlas
func (*AtlasBase) BuildSchema ¶
func (*AtlasBase) SchemaInspect ¶
type Clickhouse ¶
type Clickhouse struct { AtlasBase // contains filtered or unexported fields }
func NewClickhouse ¶
func NewClickhouse(opts ImportOptions) (*Clickhouse, error)
NewClickhouse creates a new Clickhouse driver.
type GqlOrderField ¶
type GqlOrderField struct {
// contains filtered or unexported fields
}
func (GqlOrderField) Name ¶
func (g GqlOrderField) Name() string
type ImportOptions ¶
type ImportOptions struct { Dialect string DSN string Tables []string SchemaPath string CaseInt bool //default is true, int8,32,64 --> Int GenProtoField bool //default is false, generate proto field order GenGraphql bool //default is false, generate graphql }
ImportOptions holds the options for the import command.
Click to show internal directories.
Click to hide internal directories.