Represents a database query in the EctoLibSql adapter.
This struct holds the SQL statement and metadata about the query,
implementing the DBConnection.Query protocol for compatibility
with the DBConnection framework.
Fields
:statement- The SQL query string:name- Optional name for the query:prepared- Whether the query is prepared:param_types- Expected parameter types:type- Query type (default::binary)
Examples
%EctoLibSql.Query{statement: "SELECT * FROM users WHERE id = ?"}