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

read/write commands in backend #2652

Open
wants to merge 3 commits into
base: feature/relational-db
Choose a base branch
from

Conversation

r-peschke
Copy link
Member

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.

@r-peschke r-peschke added this to the 4.2 milestone Sep 30, 2024
@r-peschke r-peschke assigned rrenkert and r-peschke and unassigned r-peschke Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

relational DB: Use read/write-interface from datastore and build it locally in backend
2 participants