We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
https://lucid.adonisjs.com/docs/seeders#customizing-database-connection states that this.connection can be used to set the connection for the model to use during seeding.
this.connection
It seems that this is not the case. I would expect src/seeders/base_seeder.ts to have the property, if it was supported.
src/seeders/base_seeder.ts
It is possible to use this.client.connectionName, but I don't know if this is a documentation issue or an implementation issue.
this.client.connectionName
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://lucid.adonisjs.com/docs/seeders#customizing-database-connection states that
this.connection
can be used to set the connection for the model to use during seeding.It seems that this is not the case.
I would expect
src/seeders/base_seeder.ts
to have the property, if it was supported.It is possible to use
this.client.connectionName
, but I don't know if this is a documentation issue or an implementation issue.The text was updated successfully, but these errors were encountered: