Batched item insertion
See create_items
in src/nacsos_data/db/crud/items/__init__.py
.
For larger imports it might be worth looking into more efficient ways to insert items. For example this might be interesting: https://docs.sqlalchemy.org/en/20/orm/extensions/asyncio.html?highlight=add_all#sqlalchemy.ext.asyncio.AsyncSession.add_all