I was wondering if someone could help me out with ...
# orm-help
r
I was wondering if someone could help me out with a question: what are the letter casing rules when querying or mutating tables with multiple words? I see examples use for User being db.user.create() or .findFirst() But what about something like a model named PreReleaseSignup defined in my schema.prisma file, would I just query it like db.preReleaseSignup.create() ? I have many tables that are longer 2-4 word names so this would sort of help overall
r
@Richard Prins 👋 We don’t have an alias sort of functionality as of now, but you can always store the long model name in a variable and use that. I would suggest creating a feature request with the above use case so that we can look into this 🙂