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

'Import by name' functionality #37

Closed
spine-o-bot opened this issue Feb 3, 2021 · 0 comments
Closed

'Import by name' functionality #37

spine-o-bot opened this issue Feb 3, 2021 · 0 comments

Comments

@spine-o-bot
Copy link

In GitLab by @manuelma on Dec 13, 2018, 13:02

We have methods to add stuff to the database that perform some integrity checks and use bulk operations --this is nice.

But for example, adding objects or relationships or parameters requires to know the object class id, whereas the application side usually just knows the object class name. So one has to insert object class first, query back the result, extract the id and then insert objects or parameters or whatever.

We would like that 'figuring out the id'-part to happen spinedatabase-api side.

In principle, some code developed Spine Toolbox side (import from excel feature) can be used as a starting point.

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