How to write EF Core query to fill the properties in certain order? public record PersonDto : BaseDto //Id is Guid { public string Firstname { ge ...
How to write EF Core query to fill the properties in certain order? public record PersonDto : BaseDto //Id is Guid { public string Firstname { ge ...
I try to save menu.json file data to my database sql in django rest_framework api. Can you help me? Can you check my database model is it okey? also I ...
In my application, I have validated the input credential at the DTO level by using class-validator. But I need runtime model validation like sequelize ...
I am trying to learn JPA and Hibernate. When trying to use the mappedBy annotation to map a access card to an owner of it, the column wont create. I a ...
I'm using SQLAlchemy for the first time and trying to define my models / schema. My only experience with ORM prior to this was with Rails and ActiveRe ...
https://laravel.com/docs/9.x/eloquent#refreshing-models If you already have an instance of an Eloquent model that was retrieved from the database, ...
I have two related entities as follows: The end goal is to clone an instance of ISV-Here\App-Name-Here\Doctrine\Entities\RmtkOrders along with its ...
I tried delete migration file and python manage.py makemigrations [appname]. However, this is not solve my problem models.py views.py urls.py ...
I have one entity class, which consists of multiple foreign key constraints, which are handled by ManyToMany etc. For some cases, I would like to c ...
I want to understand if it is possible to store car part data using the Neo4J database paradigm. I'm open to anything, so if something better suits, p ...
I have 2 models that depend on each other. One is the FeatureFilm model and the other is the CompanyInvolved model. In the FeatureFilm table I want to ...
I would like to update (or add/delete) an item from a Database Table using SQLAlchemy but the table has 1000+ columns and it wouldn't be feasible to c ...
I have a one to many relationship, and I need to filter the relationship values, I need to bring all the records that contain all the values of the ...
I have an inventory app with products and its name, photo. I query the records in HTML page and all works fine and the images showing. when i try to ...
I want to alter my model but before doing so I want to delete all the records from my database, is there any dajngo ORM query for doing that cuz I don ...
I use Peewee as my ORM and while trying to use .first() to get the first element in a list of objects, I found this weird behaviour, where the in-memo ...
I have spend way too much find finding the root cause of the below error: org.springframework.orm.jpa.JpaSystemException: could not serialize; nested ...
we are currently blocked by some typescript typings on the ORM part of our project. We are running our own for some legacy/obscure reasons. What we'd ...
Using PostgreSQL, I want to make an application that manages Daily Habits. I'm trying to make a one-to-many relationship from the User tables to Habit ...
I have configured the simple custom application with 'ts-node', and as an ORM I trying to configure (by instructions of docs) typeorm. so there happen ...