SQL Console
The SQL Console lets you run SQL directly. Queries are routed through the
Driver, so parameter style and quoting match your configured dialect.
Run a query
Section titled “Run a query”- Open Studio → SQL Console.
- Type SQL, e.g.
SELECT * FROM users WHERE age > 18; - Run it; results render as a grid.
Bound parameters
Section titled “Bound parameters”The console supports bound parameters the same way the builder does. Values are sent as parameters, not concatenated.
Best practices
Section titled “Best practices”- Use the console to prototype a query, then move it into a typed builder call.
- Prefer the builder in app code — the console is for exploration.
Common mistakes
Section titled “Common mistakes”- Running a
DELETEwithoutWHEREin the console — it deletes real rows. - Assuming console SQL is type-checked (it isn’t — that’s the builder’s job).
Related
Section titled “Related”- Data Browser — grid editing.
- Query Builder → Raw SQL — guarded raw SQL in code.
