v2.1.0
===
Dataloom 2.1.0
Release Notes - dataloom
We have release the new dataloom
Version 2.1.0
(2024-02-24
)
Features
-
Connecting to databases using connection
uri
for all the supported dialects# postgress pg_loom = Loom( dialect="postgres", connection_uri = "postgressql://root:root@localhost:5432/hi", # ... ) # mysql mysql_loom = Loom( dialect="mysql", connection_uri = "mysql://root:root@localhost:3306/hi", # ... ) # sqlite sqlite_loom = Loom( dialect="sqlite", connection_uri = "sqlite:///hi.db", # ... )
-
updated documentation.
-
enable table alterations as an option of
sync
andconnect_and_sync
function.conn, tables = pg_loom.connect_and_sync([Profile, User], alter=True)
🥇 We recommend you to use
drop
orforce
if you are going to change or modifyforeign
andprimary
keys. This is because setting the optionalter
doe not have an effect onprimary
key columns.