Skip to content

SQLite: Add support for WHERE clause on the FTS5 Table Name #3204

Description

@ankitrgadiya

What do you want to change?

SQLite supports WHERE clause directly over the Table name to query all the columns.

CREATE VIRTUAL TABLE IF NOT EXISTS ft
USING fts5(id, name, content);
SELECT name, snippet(ft, -1, "...", "...", "", 30)
FROM ft
WHERE ft MATCH @query

But SQLC does not work with this Query.

# package gen
query.sql:77:7: column "ft" does not exist

What database engines need to be changed?

SQLite

What programming language backends need to be changed?

Go

Activity

  1. changed the title [-]Add support for WHERE clause on the FTS5 Table Name[/-] [+]SQLite: Add support for WHERE clause on the FTS5 Table Name[/+] on Feb 15, 2024
  2. added and removed
    triageNew issues that hasn't been reviewed
    on Mar 4, 2024
  3. naspeh commented on Sep 13, 2024

    @naspeh

    I have created PR for this #3498.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions