Query Editor
Autocomplete
Intelligent SQL autocomplete powered by your schema.
Overview
Relay provides context-aware autocomplete for SQL queries, powered by your database schema. As you type, suggestions appear for tables, columns, functions, and keywords.
Trigger
Autocomplete appears automatically as you type. You can also trigger it manually with ⌃ + Space.
What's Completed
- Tables — all tables and views in the current schema
- Columns — columns for tables referenced in your query
- Functions — built-in and user-defined functions
- Keywords — SQL keywords and clauses
- Aliases — table aliases defined in the query
Schema Awareness
Relay reads your database schema to provide accurate completions. Schema is refreshed when you connect and can be manually refreshed via the sidebar context menu.