cleanup, docs

This commit is contained in:
root
2026-06-17 13:02:57 +00:00
parent b8b56cf3dd
commit 4eda629c8d
20 changed files with 24 additions and 50 deletions
-9
View File
@@ -15,15 +15,6 @@ Executes a MySQL query and returns the resulting data, if any.
`params` provides the query parameter values used by the statement. Use named `:name` placeholders only; positional `?` placeholders are rejected.
```cpp
StringMap params;
params["email"] = "ada@example.test";
DValue rows = mysql_query(m,
"select id, email from users where email = :email",
params
);
```
The result is returned as a `DValue`, which makes it easy to iterate through rows and read fields with the usual `DValue` accessors.
:example