Documentation ¶
Index ¶
- func ImportTablesToJSON(folderPath, dbtype, server, dbname, user, pass, port string)
- func MSSQLTableToJSON(table MSSQLTable) models.Object
- func MySQLTableToJSON(table MySQLTable) models.Object
- func ObjectsPOSTGRESSQL(path, bd, user, pass, port string) []models.Object
- func PostgreSQLTableToJSON(table PostgreSQLTable) models.Object
- func ReadObjects(dbType, path, bd, user, pass, port string) []models.Object
- func ReadObjects2(db_data models.DbData) []models.Object
- type MSSQLColumnDescription
- type MSSQLTable
- type MySQLColumnDescription
- type MySQLTable
- type PostgreSQLColumnDescription
- type PostgreSQLTable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportTablesToJSON ¶
func ImportTablesToJSON(folderPath, dbtype, server, dbname, user, pass, port string)
func MSSQLTableToJSON ¶
func MSSQLTableToJSON(table MSSQLTable) models.Object
func MySQLTableToJSON ¶
func MySQLTableToJSON(table MySQLTable) models.Object
func ObjectsPOSTGRESSQL ¶
func PostgreSQLTableToJSON ¶
func PostgreSQLTableToJSON(table PostgreSQLTable) models.Object
func ReadObjects ¶
Types ¶
type MSSQLColumnDescription ¶
type MSSQLColumnDescription struct { TABLE_QUALIFIER string TABLE_OWNER string TABLE_NAME string COLUMN_NAME string KEY string DATA_TYPE string TYPE_NAME string PRECISION float32 LENGTH float32 SCALE string RADIX string NULLABLE bool REMARKS string COLUMN_DEF string SQL_DATA_TYPE int SQL_DATETIME_SUB string CHAR_OCTET_LENGTH string ORDINAL_POSITION int IS_NULLABLE string SS_DATA_TYPE int }
type MSSQLTable ¶
type MSSQLTable struct { Name string Columns []MSSQLColumnDescription }
type MySQLColumnDescription ¶
type MySQLTable ¶
type MySQLTable struct { Name string Columns []MySQLColumnDescription }
type PostgreSQLTable ¶
type PostgreSQLTable struct { Name string Columns []PostgreSQLColumnDescription }
Click to show internal directories.
Click to hide internal directories.