3 ms·
it would also be able to suggest columns/fields from your database, as well as picking up errors. for example, given this table: create table profiles (
by kiwicopple 3y ago
it would also be able to suggest columns/fields from your database, as well as picking up errors. for example, given this table:
create table profiles (
id serial primary key,
first_name text,
last_name text
);
and this query:
select id, firstname from profiles;
it would then help to detect if you had an error in your select query (in this case, "firstname" should be "first_name"), and your code editor would show a warning, even before you try to run the code inside your database
- lovasoa 3y agoI don't think it connects to a database, so it cannot suggest field names yet. Correct me if I'm wrong.
- steinroe 3y agonot yet, but we will add this. As of now, the project is just a poc to show that the approach of using libg_query to parse the source works. Most of the work is still ahead.