v3.0.0 brings some big changes
New
- Now supports bun, deno and node.js using runtimey.
- Added
deleteTable()
to delete tables from the database. - Added
pragma()
->.get()
/.set()
to edit or fetch pragma values. - Added
getSqliteVersion()
to fetch the version of SQLite being used by the underlying library. table#filter()
now supports both fetching and deleting data.- New logos and artwork for the README.md.
Breaking
GreatDB.Type.Disk
has been renamed toGreatDB.Type.File
.GreatDB.Type.File
requiresfilename
property with name of database file along with the extension.table#get()
now returns result ornull
only.table#set()
now accepts multiple objects as parameter instead of an array of objects.table#fetch()
now requires a paramter of"Select"
or"Delete"
instead of usingSelect
by default.
Bugfixes
- Uses
join()
fromnode:path
to join the paths improving compatibility innew GreatDB.Database
.