Ask Question

The tag has no usage guidance.

5 questions

0votes0answers26views

DenoDB generic getters to acces data

I'm making a Deno REST API with a database and DenoDB as an ORM There is approximatively 18 model classes in my app I need to take care of user authentication in each request, and other repetitive ... user avatar Ninjinski

  • 147
0votes1answer54views

using OR, AND Operator in denodb@v1.0.40

I am working with deno and using denodb ORM and I am trying and looking at documentation from last couple of hours how to use ORM and after sometime I am stuck that how to query the following sql ... user avatar Rehan Shah

  • 1,319
1vote1answer107views

How to get ID of last inserted row using denodb?

I am dealing with the work of DenoDb and trying to make the createCat function return the type Promise<CatModel>. What is the best way to do it? Here is my current code: import { Model, Database,... user avatar Олег Привалов

  • 147
0votes1answer146views

Argument of type 'Function | FieldValue' is not assignable to parameter of type 'string'

I create a user model: class UserModel extends Model { static table = 'users' static timestamps = true static fields = { id: { primaryKey: true, autoIncrement: true}, ... user avatar Slim

  • 4,511
0votes1answer164views

How to perform a "where" query using denodb?

I'm trying to register a user and I get an error: [uncaught application error]: TypeError - Cannot read properties of undefined (reading 'where') Here is the code: async register(context: any) { ... user avatar chovy

  • 66k