Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAutoIncrement ¶ added in v1.0.0
IsAutoIncrement returns true if the data type is auto-incrementing (serial/bigserial)
func ValidatePrimaryKeyDatatype ¶
ValidatePrimaryKeyDatatype validates primary key data types
Types ¶
type PKType ¶ added in v1.0.0
type PKType string
PKType represents the type category of a primary key
func ClassifyPrimaryKeyType ¶ added in v1.0.0
ClassifyPrimaryKeyType determines the PKType for a given SQL data type
Click to show internal directories.
Click to hide internal directories.