-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Bug or feature request
- Bug
- Feature request
Description of feature (or steps to reproduce if bug)
SQLite3 3.38 of Feb 2022 has support for json extract -> not unlike Postgres and MySQL. This connector should be updated to use that if possible.
- SQLite documentation: https://www.sqlite.org/json1.html#jptr
- loopback-connector-postgresql commit: loopbackio/loopback-connector-postgresql@d912164
No data type change is needed -- it's still TEXT.
Expected result
I hope the final interface is the same as the Postgres connector. The PG example is:
Customer.find({
where: {
'address.state': 'California'
},
order: 'address.city'
})Additional information (Node.js version, LoopBack version, etc)
Eh, doesn't really matter here. No code for this stuff present is no code for this stuff present.
It's also not like people use loopback with sqlite3 for super serious business things, so don't put the priority too high. It's just nice to make it capable of this JSON stuff so people can experiment on a minimal setup.
Metadata
Metadata
Assignees
Labels
No labels