New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can create model from table schema? #1271

Closed
ghost opened this Issue Oct 23, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@ghost

ghost commented Oct 23, 2017

can create model from table ?
too many table schema, have a tool to help it ?

@Eijebong

This comment has been minimized.

Member

Eijebong commented Oct 23, 2017

Not sure what you're calling models, but no, we don't have any tool to help you write the Queryable structs. However, if you're not using infer_schema!, you can use diesel print-schema and copy/paste the output in your schema.rs.

@ghost ghost closed this Oct 23, 2017

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment