-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release note (cli change): CLI now auto completes on tab by using `SHOW COMPLETIONS AT OFFSET`.
- Loading branch information
1 parent
f58b5af
commit 1e64f18
Showing
11 changed files
with
602 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
parse | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'creat' | ||
---- | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'creat' | ||
SHOW COMPLETIONS AT OFFSET 1 FOR ('creat') -- fully parenthesized | ||
SHOW COMPLETIONS AT OFFSET 1 FOR '_' -- literals removed | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'creat' -- identifiers removed | ||
|
||
parse | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'creat' | ||
---- | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'creat' | ||
SHOW COMPLETIONS AT OFFSET 1 FOR ('creat') -- fully parenthesized | ||
SHOW COMPLETIONS AT OFFSET 1 FOR '_' -- literals removed | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'creat' -- identifiers removed | ||
|
||
parse | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'CREAT' | ||
---- | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'CREAT' | ||
SHOW COMPLETIONS AT OFFSET 1 FOR ('CREAT') -- fully parenthesized | ||
SHOW COMPLETIONS AT OFFSET 1 FOR '_' -- literals removed | ||
SHOW COMPLETIONS AT OFFSET 1 FOR 'CREAT' -- identifiers removed | ||
|
||
parse | ||
SHOW COMPLETIONS AT OFFSET 7 FOR 'SELECT 1' | ||
---- | ||
SHOW COMPLETIONS AT OFFSET 7 FOR 'SELECT 1' | ||
SHOW COMPLETIONS AT OFFSET 7 FOR ('SELECT 1') -- fully parenthesized | ||
SHOW COMPLETIONS AT OFFSET 7 FOR '_' -- literals removed | ||
SHOW COMPLETIONS AT OFFSET 7 FOR 'SELECT 1' -- identifiers removed | ||
|
||
parse | ||
show completions at offset 10 for 'select * fro' | ||
---- | ||
SHOW COMPLETIONS AT OFFSET 10 FOR 'select * fro' -- normalized! | ||
SHOW COMPLETIONS AT OFFSET 10 FOR ('select * fro') -- fully parenthesized | ||
SHOW COMPLETIONS AT OFFSET 10 FOR '_' -- literals removed | ||
SHOW COMPLETIONS AT OFFSET 10 FOR 'select * fro' -- identifiers removed | ||
|
||
parse | ||
SHOW COMPLETIONS AT OFFSET 4 FOR e'\'se\''; | ||
---- | ||
SHOW COMPLETIONS AT OFFSET 4 FOR e'\'se\'' -- normalized! | ||
SHOW COMPLETIONS AT OFFSET 4 FOR (e'\'se\'') -- fully parenthesized | ||
SHOW COMPLETIONS AT OFFSET 4 FOR '_' -- literals removed | ||
SHOW COMPLETIONS AT OFFSET 4 FOR e'\'se\'' -- identifiers removed |
Oops, something went wrong.