wbwdb - v1.2.10
    正在准备搜索索引...

    类 SQLHintEngine

    索引
    • Get suggestions based on AST analysis

      参数

      • input: string

        The SQL input string

      • cursorPos: number

        The cursor position in the input string

      返回 HintSuggestion[]

    • 参数

      • tokens: string[]

      返回 string | null

    • 参数

      • tokens: string[]

      返回 string | null

    • 参数

      • input: string
      • cursorPos: number
      • astNode: SQLNode | null = null
      • 可选astContext: { node: SQLNode | null; cursorInNode: string } | null

      返回 HintContext

    • 参数

      • tokens: string[]

      返回 string | null

    • 参数

      • tokens: string[]

      返回 number

    • 返回 { table: string; col: string }[]

    • 参数

      • input: string

      返回 string[]