Skip to content
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

Model types not returned from findMany #1

Closed
Gherdty opened this issue Jul 12, 2023 · 1 comment
Closed

Model types not returned from findMany #1

Gherdty opened this issue Jul 12, 2023 · 1 comment

Comments

@Gherdty
Copy link

Gherdty commented Jul 12, 2023

Very excited at the prospect of this CLI. I am finding that the findMany function is not returning the model types from my schema.

In the example project I have changed findFirst to findMany:
const sqliteRes = await sqlite.sqliteModel.findMany();

The type for the variable thats returned then becomes:
const sqliteRes: runtime.Types.Public.PrismaPromise<T>

It looks like all other functions are working besides findMany.

@Gherdty
Copy link
Author

Gherdty commented Jul 12, 2023

Realized I made this issue in the wrong repo. I have added it to the main repo here JoeRoddy/prismany#1

@Gherdty Gherdty closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant