Documentation ¶
Index ¶
- Constants
- func CheckDatabase(name string)
- func CheckField(table, field string) bool
- func CheckTable(table string) bool
- func Conn(database string) (db *sql.DB)
- func Insertinto(table string, j *jason.Object) (sucess bool)
- func JSONify(rows *sql.Rows) (string, error)
- func PrepareConn(database string) string
- func PrepareInsertQuery(query string, j map[string]*jason.Value) (statement string)
- func PrepareSelectQuery(table, field string, page, pagesize int) (preparedQuery string)
- func ProcessGet(table, field, value, page, pagesize string) []byte
- func ProcessPost(j *jason.Object, table string) string
- func ProcessPut(j *jason.Object, table string) string
Constants ¶
View Source
const SelectFrom = `select * from `
Variables ¶
This section is empty.
Functions ¶
func CheckDatabase ¶
func CheckDatabase(name string)
func CheckField ¶
func CheckTable ¶
func PrepareConn ¶
func PrepareInsertQuery ¶
func PrepareSelectQuery ¶
func ProcessGet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.