Documentation
¶
Index ¶
- type Postgres
- func (Postgres) BindVar(i int) string
- func (s Postgres) CurrentDatabase() (name string)
- func (Postgres) DataTypeOf(field *model.StructField) (string, error)
- func (Postgres) GetName() string
- func (s Postgres) HasColumn(tableName string, columnName string) bool
- func (s Postgres) HasForeignKey(tableName string, foreignKeyName string) bool
- func (s Postgres) HasIndex(tableName string, indexName string) bool
- func (s Postgres) HasTable(tableName string) bool
- func (s Postgres) LastInsertIDReturningSuffix(tableName, key string) string
- func (Postgres) SupportLastInsertID() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
func (Postgres) CurrentDatabase ¶
func (Postgres) DataTypeOf ¶
func (Postgres) DataTypeOf(field *model.StructField) (string, error)
func (Postgres) HasForeignKey ¶
func (Postgres) LastInsertIDReturningSuffix ¶
func (Postgres) SupportLastInsertID ¶
Click to show internal directories.
Click to hide internal directories.