MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / HandleQuery

Method HandleQuery

IceFireDB-SQLite/pkg/mysql/server/command.go:20–20  ·  view source on GitHub ↗

handle COM_QUERY command, like SELECT, INSERT, UPDATE, etc... If Result has a Resultset (SELECT, SHOW, etc...), we will send this as the response, otherwise, we will send Result

(conn *Conn, query string)

Source from the content-addressed store, hash-verified

18 // handle COM_QUERY command, like SELECT, INSERT, UPDATE, etc...
19 // If Result has a Resultset (SELECT, SHOW, etc...), we will send this as the response, otherwise, we will send Result
20 HandleQuery(conn *Conn, query string) (*Result, error)
21 // handle COM_FILED_LIST command
22 HandleFieldList(conn *Conn, table string, fieldWildcard string) ([]*Field, error)
23 // handle COM_STMT_PREPARE, params is the param number for this statement, columns is the column number

Callers 2

dispatchMethod · 0.65
dispatchMethod · 0.65

Implementers 2

HandleIceFireDB-SQLProxy/internal/mysql/hand
mysqlProxyIceFireDB-SQLite/internal/mysql/proxy.

Calls

no outgoing calls

Tested by

no test coverage detected