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.Diskhas been renamed toGreatDB.Type.File.GreatDB.Type.Filerequiresfilenameproperty with name of database file along with the extension.table#get()now returns result ornullonly.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 usingSelectby default.
Bugfixes
- Uses
join()fromnode:pathto join the paths improving compatibility innew GreatDB.Database.
