Questions Tagged [Denodb]

Questions Tagged [Denodb]

The tag has no usage guidance.

5 questions
0 votes
0 answers
26 views

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 ...
0 votes
1 answer
54 views

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 ...
1 vote
1 answer
107 views

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,...
0 votes
1 answer
146 views

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}, ...
  • 4,511
0 votes
1 answer
164 views

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) { ...
  • 66k

Sophia Al-Mansoor
Author

Sophia Al-Mansoor

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.