-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Feature Description
Introducing Logical Models: A Powerful New Feature Coming Soon to Hasura for Snowflake
Level up your Hasura experience with Logical Models to create custom GraphQL types without the need for database views or functions.
Hello Hasura enthusiasts!
We're excited to announce a powerful new feature coming soon to Hasura for Snowflake users: Logical Models. This feature will enable you to define custom GraphQL types that don't directly map to a database object, giving you more flexibility and control over your Hasura-generated GraphQL schema. With Logical Models, you'll be able to harness the full power of SQL within Hasura without the need to create database objects that require DDL privileges.
What are Logical Models?
Logical Models are a new Hasura GraphQL type that doesn't mirror a concrete database object. Instead, when creating a Logical Model, you define native SQL queries to use as a model and map that model to a Hasura GraphQL type. You can also parameterize these queries to pass arguments, allowing you to create custom and dynamic GraphQL types that suit your specific needs.
Current status (design, alpha, beta etc.)
- In the hopper
Resources (e.g. RFCs)
The motivation and design of this feature came in part from the RFC for Parameterized Queries.
rfc (wip): parameterized queries #7473