Replies: 1 comment 4 replies
-
If no key is provided, it is treated as sub print schema with |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this "sub schema" feature released in version 2.2.0 is the right tool for what I'm doing. I have created a new schema in my migration files called "v2" and I have an old default schema (public) that I need to query with diesel. These are the diesel.toml and schema files.
src/diesel_schema/v2.rs
src/diesel_schema/public.rs
I'm not sure if the schema names "public" and "v2" have to be included in the schema files. Is the schema name after "print_schema" in diesel.toml enough for me to start querying from both public and v2 schema in my code?
Beta Was this translation helpful? Give feedback.
All reactions