hi, can someone tell me where i can look up <@U8NP...
# orm-help
o
hi, can someone tell me where i can look up @db decorators? I'm trying to upgrade from 27 to 28, have mongodb and @db.array is no more
r
@Origin 👋 What's the error that you're getting?
o
@db.array is not a function
or something like that
just wondering where i could look those up
r
The value
db
is tied to the name of the
datasource
in
schema.prisma
. If you change the name of the datasource, you would need to change the equivalent functions as well.
o
gotcha
i'd be nice to see that in documentation
r
Was that the issue?
o
I just got an error upgrading v 27 to 28
there's no issue, i'd just like to read what all of the @db .methods exist
and what they do
r
You can read about those here.