Invenio-DB¶

https://img.shields.io/github/license/inveniosoftware/invenio-db.svg https://img.shields.io/travis/inveniosoftware/invenio-db.svg https://img.shields.io/coveralls/inveniosoftware/invenio-db.svg https://img.shields.io/pypi/v/invenio-db.svg

Database management for Invenio. Further documentation available on https://invenio-db.readthedocs.io/

User’s Guide¶

This part of the documentation will show you how to get started in using Invenio-DB.

  • Installation
  • Configuration
  • Usage
    • Command-line interface
    • Models
    • Setuptools integration
  • Alembic for Invenio
    • Adding alembic support to existing modules
    • Creating a new revision
    • Show current state
    • Enabling alembic migrations in existing invenio instances
    • Naming Constraints
    • Testing revisions
  • Database session management
    • Transactions are tied to requests
    • Exceptions cause rollback
    • Why are transactions tied to requests?
    • When are SQL statements sent to the database server?
    • What about nested transactions?
    • When are partial rollbacks useful?
    • When is flushing useful?
    • What happens with exceptions in nested transactions?

API Reference¶

If you are looking for information on a specific function, class or method, this part of the documentation is for you.

  • API Docs

Additional Notes¶

Notes on how to contribute, legal information and changes are here for the interested.

  • Contributing
  • Changes
  • License
  • Contributors

Invenio-DB

Database management for Invenio.

Navigation

  • Installation
  • Configuration
  • Usage
  • Alembic for Invenio
  • Database session management
  • API Docs
  • Contributing
  • Changes
  • License
  • Contributors

  • invenio-db@GitHub
  • invenio-db@PyPI

Related Topics

  • Documentation overview
    • Next: Installation

Quick search

©2015, CERN. | Page source
Fork me on GitHub