Description
When typing in the query, if we use autocomplete for tables with a schema, the schema gets duplicated (appears twice).
Steps to Reproduce
-
Set up the database:
CREATE SCHEMA IF NOT EXISTS sample;
CREATE TABLE IF NOT EXISTS sample.demo (
id INT PRIMARY KEY,
name TEXT
);
INSERT INTO sample.demo VALUES
(1, 'Test');
SELECT *
FROM sample.demo;
-
Now type in the query
-
Perform the autocomplete by clicking the suggestion or hitting TAB/ENTER on your keyboard
-
The query becomes
SELECT * FROM sample.sample.demo
i.e. the schema name is duplicated
Expected Behavior
It should autocomplete to sample.demo
Actual Behavior
It autocompleted to sample.sample.demo
Environment
- LibreDB Studio Version: (e.g., 0.15.0)
Description
When typing in the query, if we use autocomplete for tables with a schema, the schema gets duplicated (appears twice).
Steps to Reproduce
Set up the database:
Now type in the query
Perform the autocomplete by clicking the suggestion or hitting TAB/ENTER on your keyboard
The query becomes
i.e. the schema name is duplicated
Expected Behavior
It should autocomplete to
sample.demoActual Behavior
It autocompleted to
sample.sample.demoEnvironment