22 lines
598 B
Plaintext
22 lines
598 B
Plaintext
:sig
|
|
DTree mysql_query(MySQL* m, String q, StringMap params)
|
|
|
|
:params
|
|
m : pointer to an active MySQL connection struct
|
|
q : a string containing a MySQL query
|
|
params : optional, a list of query parameter keys and values
|
|
return value : a list of rows returned from executing the query
|
|
|
|
:desc
|
|
Executes a MySQL query and returns the resulting data (if any).
|
|
|
|
:Examples
|
|
(tbd)
|
|
|
|
:see
|
|
>mysql
|
|
|
|
:related
|
|
**PHP:** Modern PHP database access through `mysqli_*` or PDO methods rather than the old `mysql_*` family
|
|
**JavaScript / Node.js:** Node database clients such as `mysql2`, query builders, or ORM adapters
|