-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
Datastore selection for Archive model #7313
Comments
@TimurK Thanks for posting! We'll take a look as soon as possible. In the mean time, there are a few ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly. For help with questions about Sails, click here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Node version: v18.16.0
Sails version (sails): 1.5.8
ORM hook version (sails-hook-orm): 4.0.2
Organics hook version (sails-hook-organics): 2.2.2
Grunt hook version (sails-hook-grunt): 5.0.0
DB adapter & version (): [email protected]
DB adapter & version (): [email protected]
I have default datastore which is uses sails-postgresql adapter and most of my Models uses this default datastore.
Also i have additional sails-mongo datastore and one model in it. Datastore for this model configured throught datastore: paramether.
All working as expected. I can create models on both datastores without any problems using PostgresModel.create() and MongoModel.create().
But when i calling PostgresModel.archive() method on models that uses default datastore Archive collection appears in devMongoDb datastore.
It is posible to store Archive collection on the source datastore?
The text was updated successfully, but these errors were encountered: