This repository has been archived by the owner on Feb 3, 2022. It is now read-only.
v2.0
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
orcreatePostgreDatabase
- You now import either
- String Datum
includes
function has been renamed tosubstr
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 usefork()
to return a clone andrun()
off of that instead.
- Statements are saved to the initial variable in order to save memory and processing power in creating
- 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()
);