canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
17 stars 8 forks source link

[JUJU-3907] Rename sqlair.TX and associations to use "Tx" #78

Closed manadart closed 10 months ago

manadart commented 1 year ago

Here we rename the sqlair typeTX to Tx, along with associated methods/types.

This is for:

niemeyer commented 10 months ago

We've discussed this before, and the rationale behind the change is that both DB and TX have almost exactly the same API, so writing code for both made it obvious that there's an inconsistency, and we've decided to fix it on the SQLair layer. Happy to have Db and Tx instead if that sounds better? ;-)