keywordCompletionSource

fun keywordCompletionSource(dialect: SQLDialect, upperCase: Boolean = false, build: (String, String) -> Completion? = null): CompletionSource

Returns a completion source that provides keyword completion for the given SQL dialect.

Parameters

dialect

The SQL dialect.

upperCase

Whether to return keywords in upper case.

build

Optional custom function to build completions from (label, type).