OpenSlides / openslides-backend

Backend service for OpenSlides 4+
MIT License
6 stars 26 forks source link

read/write commands in backend #2652

Open r-peschke opened 1 week ago

r-peschke commented 1 week ago

The read/write commands should be directed to an sql-part in the backend, that executes the commands with a direct connection to the database, using tables and not the collections with models-table only. The reader part (openslides_backend/database/sql_read_database_backend_service.py) is connected and used, but still with collection/models-table. A template for the writer part could be found in openslides-datastore-service/datastore/writer/postgresql_backend/sql_database_backend_service.py, but has to be called analogue to the reader.