loopback-connector
loopback-connector copied to clipboard
Building blocks for LoopBack connectors
## Steps to reproduce Call `new Connector(/*...*/).isRelational()` Offending line: https://github.com/loopbackio/loopback-connector/blob/e85797318c76890c387050c39e84e09cc83214a2/lib/connector.js#L36-L37 ## Current Behavior It returns itself (a function), which then requires a 2nd call to get the expected boolean value....
Custom `encodeDate`, `decodeDate` functions are not used by _msgpack5_, because custom types encoding happens after `Date` type encoding inside `msgpack.encode` function. This can be fixed by disabling default `Date`s encoding...
On tables with 100 million+ rows, when querying for a single row using loopback it'll insert an "order by id" forcing the entire table read. ## Steps to reproduce I...
_This is a follow-up task for the proposal outlined in strongloop/loopback-next#2712._ The intention is to share as much of index/FK migration logic among all SQL connectors, to ensure consistent behavior....
_This is a follow-up task for the proposal outlined in https://github.com/strongloop/loopback-next/issues/2712._ Implement a helper functions in base `Connector` class to process index and foreign-key definitions in an unified way and...
### Bug or feature request - [x] Bug - [ ] Feature request ### Description of feature (or steps to reproduce if bug) 1. Insert 10 rows in a model/table...
We are working with a legacy database that has our data divided among different schemas. As per the documentation, I should be able to set the schema for an individual...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chai-as-promised](https://togithub.com/chaijs/chai-as-promised) | [`^7.1.2` -> `^8.0.0`](https://renovatebot.com/diffs/npm/chai-as-promised/7.1.2/8.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chai](http://chaijs.com) ([source](https://redirect.github.com/chaijs/chai)) | [`^4.5.0` -> `^5.2.0`](https://renovatebot.com/diffs/npm/chai/4.5.0/5.2.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
(https://nvd.nist.gov/vuln/detail/CVE-2021-21368)