Skip to content

1.2.4

Choose a tag to compare

@Razikus Razikus released this 27 May 12:11
· 30 commits to master since this release

Features

  • Support for immudb server v1.2.4
  • Added possibility to retrieve SQL Response with column names
  • Added support for interactive sessions

New

New functions

  • openManagedSession() - opens a interactive managed session with Tx sub interface. Managed session will automatically send keep alive packet. Should be opened with "with" statement to guarantee close
  • openSession() - opens an interactive session
  • closeSession() - closes an interactive session
  • Tx -> newTx() - opens an new transaction
  • Tx -> commit() - commits an transaction
  • Tx -> rollback() -> rollback an transaction
  • Tx -> sqlQuery() -> makes a SQL Query and returns results
  • Tx -> sqlExec() -> executes SQL

Adjustments

  • sqlQuery - now it's possible to use different column name modes - you could get preety dict in return, instead of tuples

What's Changed

  • Support for interactive transactions, and different column names mode by @Razikus in #46

Full Changelog: v1.2.3...v1.2.4