Skip to content

Commit d0cc94a

Browse files
author
CHIKAMATSU Naohiro
committed
Add sqlite3 syntax completion
1 parent cfeaa1f commit d0cc94a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

shell/shell.go

+10
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,18 @@ func (s *Shell) completer(d prompt.Document) []prompt.Suggest {
174174
{Text: "SET", Description: "SQL: specify values to be updated"},
175175
{Text: "DELETE FROM", Description: "SQL: specify tables to be deleted"},
176176
{Text: "IN", Description: "SQL: condition grouping"},
177+
{Text: "LIKE", Description: "SQL: use wildcards to perform pattern matching"},
178+
{Text: "GLOB", Description: "SQL: match only text values against a pattern using wildcard"},
179+
{Text: "BETWEEN", Description: "SQL: selects values within a given range"},
180+
{Text: "IS NULL", Description: "SQL: selects null values"},
181+
{Text: "DISTINCT", Description: "SQL: exclude duplicate values"},
177182
{Text: "INNER JOIN", Description: "SQL: inner join tables"},
183+
{Text: "OUTER JOIN", Description: "SQL: outer join tables"},
184+
{Text: "CROSS JOIN", Description: "SQL: cross join tables"},
185+
{Text: "NATURAL", Description: "SQL: natural join tables"},
178186
{Text: "LIMIT", Description: "SQL: upper Limit of records"},
187+
{Text: "OFFSET", Description: "SQL: identify the starting point to return result rows"},
188+
{Text: "CASE", Description: "SQL: branching by conditions"},
179189
{Text: "table", Description: "sqly command argument: table output format"},
180190
{Text: "markdown", Description: "sqly command argument: markdown table output format"},
181191
{Text: "csv", Description: "sqly command argument: csv output format"},

0 commit comments

Comments
 (0)