Skip to content
This repository was archived by the owner on Aug 13, 2021. It is now read-only.

SQLite3 Adapter#3

Open
AndrewJo wants to merge 85 commits into
balderdashy:masterfrom
AndrewJo:master
Open

SQLite3 Adapter#3
AndrewJo wants to merge 85 commits into
balderdashy:masterfrom
AndrewJo:master

Conversation

@AndrewJo
Copy link
Copy Markdown

SQLite3 Adapter

First of all, I'd like to thank the Sails.js team for creating such an amazing framework. I ended up creating a SQLite3 adapter for Waterline because I needed a lightweight database that was going to run on an embedded device (BeagleBone Black) and it seemed like there was no support for it.

Again, special thanks to the developers and community of Sails.js and Node!

Important Note

Please do not merge this yet as the code is definitely not ready for primetime. None of the unit tests have been written for it and lot of the code was loosely based on the PostgreSQL adapter which may or may not cause problems with SQLite. I am submitting the pull request to let everyone know that the SQLite adapter is under active development and to eliminate duplicate efforts (and possibly get some helping hand on my end).

kcappieg and others added 29 commits December 3, 2018 21:06
Don't try too much, including where conditions which are still untried
find where criteria do not match current waterline api. must be migrated
refactoring whole method for better logical structuring and new waterline where format
Criteria tree evaluated recursively, includes all v1 operators, unsure about JSON column type
All criteria pass smoke tests (No real testing though)
Sqlite is not made for concurrent writes - refactor to only spawn one write client
fix some bugs, discover others
Was coded as 'IN', added 'NOT'
Adding associations interface tests
Waterline API v1 rewrite
@Oxicode
Copy link
Copy Markdown

Oxicode commented Sep 13, 2019

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.