Skip to content

triggers shall not be created on vtabs #4031

@Pavan-Nambi

Description

@Pavan-Nambi
turso> .load target/debug/liblimbo_csv.so
turso> CREATE VIRTUAL TABLE t USING csv(filename='data.csv', header=1);

turso> CREATE TABLE t1(id INT, name TEXT);
turso> CREATE TRIGGER trg AFTER INSERT ON t
BEGIN
    INSERT INTO t1(id, name) VALUES (NEW.id, NEW.name);
END;

sqlite3 docs:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions