mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
12 lines
226 B
Go
12 lines
226 B
Go
package main
|
|
|
|
import (
|
|
"database/sql"
|
|
"net/http"
|
|
)
|
|
|
|
func handlerGood(db *sql.DB, req *http.Request) {
|
|
q := "SELECT ITEM,PRICE FROM PRODUCT WHERE ITEM_CATEGORY='?' ORDER BY PRICE"
|
|
db.Query(q, req.URL.Query()["category"])
|
|
}
|