Documentation ¶
Index ¶
- func BatchInsertInTables(w http.ResponseWriter, r *http.Request)
- func DeleteFromTable(w http.ResponseWriter, r *http.Request)
- func ExecuteFromScripts(w http.ResponseWriter, r *http.Request)
- func ExecuteScriptQuery(rq *http.Request, queriesPath string, script string) ([]byte, error)
- func GetDatabases(w http.ResponseWriter, r *http.Request)
- func GetSchemas(w http.ResponseWriter, r *http.Request)
- func GetTables(w http.ResponseWriter, r *http.Request)
- func GetTablesByDatabaseAndSchema(w http.ResponseWriter, r *http.Request)
- func InsertInTables(w http.ResponseWriter, r *http.Request)
- func SelectFromTables(w http.ResponseWriter, r *http.Request)
- func UpdateTable(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchInsertInTables ¶
func BatchInsertInTables(w http.ResponseWriter, r *http.Request)
BatchInsertInTables perform insert in specific table from a batch request
func DeleteFromTable ¶
func DeleteFromTable(w http.ResponseWriter, r *http.Request)
DeleteFromTable perform delete sql
func ExecuteFromScripts ¶
func ExecuteFromScripts(w http.ResponseWriter, r *http.Request)
ExecuteFromScripts is a controller to peform SQL in scripts created by users
func ExecuteScriptQuery ¶
ExecuteScriptQuery is a function to execute and return result of script query
func GetDatabases ¶
func GetDatabases(w http.ResponseWriter, r *http.Request)
GetDatabases list all (or filter) databases
func GetSchemas ¶
func GetSchemas(w http.ResponseWriter, r *http.Request)
GetSchemas list all (or filter) schemas
func GetTables ¶
func GetTables(w http.ResponseWriter, r *http.Request)
GetTables list all (or filter) tables
func GetTablesByDatabaseAndSchema ¶
func GetTablesByDatabaseAndSchema(w http.ResponseWriter, r *http.Request)
GetTablesByDatabaseAndSchema list all (or filter) tables based on database and schema
func InsertInTables ¶
func InsertInTables(w http.ResponseWriter, r *http.Request)
InsertInTables perform insert in specific table
func SelectFromTables ¶
func SelectFromTables(w http.ResponseWriter, r *http.Request)
SelectFromTables perform select in database
func UpdateTable ¶
func UpdateTable(w http.ResponseWriter, r *http.Request)
UpdateTable perform update table
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.