Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

v2.0

Compare
Choose a tag to compare
@MichaelFedora MichaelFedora released this 21 Aug 04:50
· 27 commits to master since this release

Moved from reql-sqlite3 because we are now supporting multiple databases!

Not recommended to use in Production still, as testing isn't extensive!

Breaking

  • Changed how Databases are initialized
    • You now import either createSQLite3Database or createPostgreDatabase
  • String Datum includes function has been renamed to substr to not be confused with Array functions

Changes

  • 🎉 Added PostgreSQL support! 🎉
  • expr can now be imported by anyone to create "static" expressions, for use in filters or otherwise
  • Added the ability to fork statements
    • Statements are saved to the initial variable in order to save memory and processing power in creating
      tons of new objects. The query queue will only be emptied on an action (i.e. run, delete, etc), but if
      you want to keep it then use fork() to return a clone and run() off of that instead.
  • Added Array abilities to Datums (i.e. not just streams now)
    • count
    • limit
    • difference
    • contains
    • filter
    • pluck
    • map
  • Added the ability to close Database connections (db.close());