Skip to main content
New: Stack Overflow For Agents. The next generation of knowledge exchange. Learn more
Filter by
Sorted by
Tagged with
Filter by Employee ID
1 vote
1 answer
82 views

I'm building an Express + Prisma API for a blog system. I have a User model and a Post model with a one-to-many relationship (one user can have many posts). When I try to delete a user using: await ...
Javad002's user avatar
0 votes
0 answers
36 views

I added a new column to an existing SQLAlchemy ORM model in an SQLite-backed application. My model: class User(Base): __tablename__ = "users" id = Column(String(36), primary_key=True)...
郭瀚澤's user avatar
0 votes
2 answers
124 views

I have 2 databases: test: contains a collection called people which holds documents representing the Person and Author class test2: contains a collection called somethingElse which holds documents ...
pomipiwimo's user avatar
Advice
0 votes
4 replies
115 views

I am implementing Domain-Driven Design (DDD) and facing a problem: balancing database performance with clean domain modeling. I want to stop loading child entities that I don't need when getting an ...
Quốc Dũng's user avatar
3 votes
1 answer
171 views

I have many-to-many connection in my database and trying to make tables with ORM. Now I have 3 tables (one is secondary) class TableA(Base): __tablename__ = "tablea" id: Mapped[int] =...
Николай Купчиков's user avatar
0 votes
1 answer
94 views

I have the following set of models (simplified and renamed for the purpose of this question). A lot of other functionality has already been built on top of them so wholesale changes aren't possible, ...
Pete Verdon's user avatar
0 votes
0 answers
45 views

I have a situation where I have 2 tables with a many to many relationship class Book(MyBaseClass): book_id: Mapped[int] = mapped_column(primary_key=true) words: Mapped[List[Word]] class Word(...
Snark's user avatar
-1 votes
1 answer
136 views

I am trying to access a SQL Server uniqueidentifier using Linq-to-SQL mapping: Table - CREATE TABLE [dbo].[Members]( [guid] [uniqueidentifier] NOT NULL ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] ...
aegsomweb's user avatar
1 vote
1 answer
156 views

I have a table in my DB2 database with information about customer locations. Each location has a unique id (WLC = worklocation code). I am trying to run a query in Python using SQLAlchemy to retrieve ...
GNF's user avatar
1 vote
0 answers
80 views

performed all changes as per https://www.prisma.io/docs/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-7 except adding a driver-adapter since im using a transaction-pooler connection ...
Neston Cabral's user avatar
1 vote
1 answer
969 views

I am sorry if it's asked already, I just migrated to Prisma V7 and am stuck with an unsolvable error. SCRAM-SERVER-FIRST-MESSAGE: client password must be a string The server runs fine, Though the ...
Magstar Dev's user avatar
0 votes
1 answer
112 views

I have two classes: Student and Group. Student attributes: private String registrationNumber; private String firstName; private String lastName; private Date dateOfBirth; private String password; ...
Mohamed Selmi's user avatar
4 votes
4 answers
6k views

I was working with Prisma and NestJS and it is fine but when I updated Prisma to version 7 I started getting errors, fixed them, but I am stuck with this one. Part of schema: datasource db { ...
f.n's user avatar
0 votes
0 answers
43 views

I have a test case that tests all the DAOs in my project. It uses openpojo to get the list of all DAO classes. The test case then iterates over the list of DAO classes and invokes all methods in them ...
siddhant's user avatar
1 vote
0 answers
81 views

Problem Summary I'm attempting to migrate a WaveMaker project from version 9.4 to 10.6.6 and encountering persistent compilation errors related to type mismatches between Integer and BigInteger in the ...
Mehdi Enn's user avatar

15 30 50 per page
1
2 3 4 5
1301