-
Something that returns a shape like the one below.
```ts
interface ICursorPaginationResult {
nodes: ICursorResult[]; // this one
results: M[]
pageInfo: IPageInfo;
}
interface ICurso…
-
I have model A that hasMany B records.
```
// A.model.js
static get relationMappings() {
return {
Bs: {
relation: Model.HasManyRelation,
modelClass: B,
…
-
When I added tests to project with **fastify-objectionjs** I was having timeout errors.
I investigated that mysql connection doesn't close.
I fixed it with `await fastify.objection.knex.destroy()`
-
After some playing with it and cross-referencing with the [docs](https://stalniy.github.io/casl/v4/en/guide/restricting-fields) for my current requirements, I'm still not quite sure if I'm doing it ri…
-
Coming from ten years of *Ruby on Rails* development, I'm currently working on establishing a comparable tech stack based on JavaScript/TypeScript. After losing confidence in TypeORM I'm currently put…
-
If I'm trying to retrieve related object from an Objection model without giving the knex instance, it throws an error.
Currently I have to do the following:
`await service.$relatedQuery('offers', …
-
This question has come up few times, I wrote here some of my thoughts people who know better may correct me where I'm wrong:
> _pi: So what does objection.js do differently than bookshelf.js which …
-
hello i use knex with objectionjs but i can't retrieved data
error this "TypeError: Cannot read property 'isPartial' of null" i make relation in database completed
i use mysql database
--------…
-
Please observe a dependency conflict I've found recently. Maybe this issue will help to improve your project. Thanks!
https://github.com/Vincit/objection.js/issues/1350
-
## 🚀 Feature Proposal
[fastify-objectionjs](https://github.com/jarcodallo/fastify-objectionjs) is a plugin for the Fastify framework that provides integration with objectionjs ORM.
## Motivation…