[Python] Create an SQLAlchemy table that only has maximum one entry

Discussão em 'Python' iniciado por Stack, Outubro 4, 2024.

  1. Stack

    Stack Membro Participativo

    I want to store a secret key encrypted and I want to ensure there is always either none or exactly one entry in this SQLAlchemy model/table. How can this be enforced?

    Continue reading...

Compartilhe esta Página