graphql-engine/server/tests-py/queries/graphql_query/caching/setup.yaml
Alexis King e01008413e
Track variable uses within query validation for caching (fix #3097) (#3135)
This fix is a little ugly, but it’s the only simple solution without a
significant refactoring that restructures the relationship between
GraphQL/Validate and GraphQL/Resolve. The ugliness should go away if we
implement something like #2801.
2019-10-16 09:33:34 -05:00

10 lines
215 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
CREATE TABLE users (id serial PRIMARY KEY, name text NOT NULL);
INSERT INTO users (name) VALUES ('Alyssa'), ('Ben');
- type: track_table
args: users