issues
search
datakind
/
permanent-colandr-back
DataCorps - Colandr Tool resources
https://www.colandrapp.com/signin
14
stars
1
forks
source link
Update db interface according to new sqlalchemy v2 api
#93
Closed
bdewilde
closed
9 months ago
bdewilde
commented
9 months ago
changes
use v2's improved api for bulk orm inserts/updates
use v2's typing-aware declarative orm api, for both columns and relationships, to improve usability of db models
update sqlalchemy config for v2 tweaks
refs:
https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#orm-declarative-models
https://docs.sqlalchemy.org/en/20/changelog/whatsnew_20.html#optimized-orm-bulk-insert-now-implemented-for-all-backends-other-than-mysql
changes
refs: