Skip to content

Commit

Permalink
Remove mentioning of SQLObject
Browse files Browse the repository at this point in the history
... as it was removed some time ago.
  • Loading branch information
jugmac00 committed Oct 17, 2023
1 parent f96db5d commit 57c8c57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
1 change: 0 additions & 1 deletion .custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ sourcetree
soyuz
specialized
specializes
SQLObject
SRE
SREs
SSO
Expand Down
16 changes: 3 additions & 13 deletions reference/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,20 +264,10 @@ passes and returns them easier to debug.
Database-related
================

Storm
-----

We use two database ORM (object-relational mapper) APIs in Launchpad, the
older and deprecated SQLObject API and the new and improved `Storm
<https://storm.canonical.com>`_ API. All new code should use the Storm API,
and you are encouraged to convert existing code to Storm as part of your
tech-debt payments.

.. note::
ORM
---

The SQLObject and Storm ``ResultSet`` interfaces are not compatible, so
e.g. if you need to ``UNION`` between these two, you will run into
trouble. We are looking into ways to address this.
We are using the `Storm <https://storm.canonical.com>`_ ORM.

Field attributes
----------------
Expand Down

0 comments on commit 57c8c57

Please sign in to comment.