Skip to content
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

Dataset upsertWithWhere #93

Closed
dylanmcreynolds opened this issue Jun 3, 2022 · 1 comment
Closed

Dataset upsertWithWhere #93

dylanmcreynolds opened this issue Jun 3, 2022 · 1 comment

Comments

@dylanmcreynolds
Copy link
Contributor

The old backend has upsertWithWhere endpoints for Datasets, RawDatasets, DerivedDatasets.

Use of these datasets was recently added to pyscicat SciCatProject/pyscicat#12

I don't see a similar method in the new backend. Was this some fancy loopback magic? Should pyscicat search for the dataset and send a PUT if it exists to get the same upsert?

@dylanmcreynolds
Copy link
Contributor Author

Discussed at the dev meeting. The current thinking is that we not bring upsert into the new backend. It is auto-created by loopback, and does not have a similar automatic method in nest.js. It's also bit of niche case, and could be done in the client code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant