We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using typescript, I some times have to map all the schema with the following code:
async function generatePrismaVariablesDescriptions(): Promise<any> { const a = {}; //return Prisma.dmmf.datamodel.models; Prisma.dmmf.datamodel.models.map((model) => { //a[model.name] = {}; model.fields.map((b) => { a[b.name] = b.isList ? b.type.toString() + '[]' : b.type.toString(); }); }); return a; }
It is unfortunate that right now this method is not implemented.
Add similar method to python library.
The text was updated successfully, but these errors were encountered:
Can you share your use case?
Sorry, something went wrong.
No branches or pull requests
Problem
Using typescript, I some times have to map all the schema with the following code:
It is unfortunate that right now this method is not implemented.
Suggested solution
Add similar method to python library.
The text was updated successfully, but these errors were encountered: