Skip to content

v2.3.0

Compare
Choose a tag to compare
@CrispenGari CrispenGari released this 26 Feb 08:51
· 31 commits to main since this release
b2cb16e

===
Dataloom 2.3.0

Release Notes - dataloom

We have release the new dataloom Version 2.3.0 (2024-02-26)

Features
  • updated documentation.
  • Query Builder in executing queries and SQL Scripts.
qb = loom.getQueryBuilder()
res = qb.run("select id from posts;", fetchall=True)
print(res)

We can use the query builder to execute the SQL as follows:

with open("qb.sql", "r") as reader:
    sql = reader.read()
res = qb.run(
    sql,
    fetchall=True,
    is_script=True,
)
print(res)

👍 Pro Tip: Executing a script using query builder does not return a result. The result value is always None.

What's Changed

Full Changelog: v2.2.0...v2.3.0