Documentation
¶
Index ¶
- Constants
- func FieldType(fd pgproto3.FieldDescription) reflect.Type
- func GetPSQLQueryType(query string) (queryType int, isReturningRows bool)
- func PgSqlRowsToJson(rows pgx.Rows) ([]string, []map[string]interface{})
- func QueryToDataModel(fieldQueryData []map[string]interface{}, ...) []map[string]interface{}
Constants ¶
View Source
const ( ERRCODE_INVALID_PASSWORD = "28P01" // worng password ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION = "28000" // db does not exist )
View Source
const ( QUERY_READ = iota QUERY_WRITE = iota QUERY_MODIFY_SCHEMA = iota QUERY_UNKOWN = -1 )
View Source
const (
LtreeOID = 16411
)
Variables ¶
This section is empty.
Functions ¶
func GetPSQLQueryType ¶
func PgSqlRowsToJson ¶
func QueryToDataModel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.