Y
Hacker News
new
|
ask
|
show
|
jobs
by
avinassh
998 days ago
This looks very cool! how is autocomplete feature implemented?
1 comments
tconbeer
998 days ago
Right now there is no autocomplete inside the text editor, but that will be added soon. DuckDB itself provides an extension that adds a table function that can be queried for completions like so:
select * from sql_auto_complete( 'select ra' )
link
select * from sql_auto_complete( 'select ra' )