graphql-engine/server/tests-py/queries/graphql_query/computed_fields/teardown.yaml
Rakesh Emmadi 6724b62719 server/postgres: add test case to test computed field with session argument in where expression
>

### Description
>
Add a simple test case to test behavior of computed fields with session argument in filter expression (`where`) of a graphql query.

### Changelog

- [ ] `CHANGELOG.md` is updated with user-facing content relevant to this PR. If no changelog is required, then add the `no-changelog-required` label.

### Affected components

- [x] Tests

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2465
GitOrigin-RevId: 25e287c7e7826350e93f2bebacd5d877568c9934
2021-09-30 11:27:37 +00:00

17 lines
469 B
YAML

type: bulk
args:
- type: run_sql
args:
sql: |
DROP FUNCTION fetch_articles(text, author);
DROP FUNCTION fetch_articles_plain(author);
DROP FUNCTION full_name(author);
DROP TABLE article;
DROP TABLE author;
DROP FUNCTION locations_distance(json, locations);
DROP TABLE locations;
DROP FUNCTION get_sum(float_test);
DROP FUNCTION get_sum_offset(float_test, json);
DROP TABLE float_test;
cascade: true