Replies: 3 comments 1 reply
-
|
sorry that is for v2... |
Beta Was this translation helpful? Give feedback.
-
|
Collection names in MongoDB are automatically pluralized, regardless of mongooseAdapter({
url: process.env.MONGODB_URI,
autoPluralization: false
}) |
Beta Was this translation helpful? Give feedback.
-
|
Ok, so why For example i already have db with 34 collections and naming with If i define option: collection |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Bug
I need a table in my (not yours) database named something like
historybut I havehistoriesand I'm using mongoDBexample collection
expected
tableNamewith defineddbNameproperty is histroty not historiesReproduction Steps
create new collection
Historylike above with dbName: stringWhich area(s) are affected? (Select all that apply)
db-mongodb
Environment Info
Payload: ^2.0.0
Nodejs: 20.14
Beta Was this translation helpful? Give feedback.
All reactions