Create /api/db endpoints #3
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create the /api/db endpoints as specified in #1.
You will need to create all of the necessary classes from the bottom up. I suggest creating an IDatabaseService interface, which is implemented by MySQLService and PostgresQLService. In zope, it is possible to register multiple implementations of a single interface, if you register them with different names (see https://zopecomponent.readthedocs.io/en/latest/narr.html#utilities).
You will also need the transaction layer and API layer.
Closed by #10.