Category "typeorm"

TypeORM find where clause, how to add where in multiple parameter

this.sampleRepo.find ( { where: { id: In ["1","7","13"] } order: {

TypeORM throws QueryFailedError Table already exists on MySQL when synchronize is true

I am using NestJS, TypeORM, and MySQL to build a web application. I am using a .env file to pass in some environment variables for connecting to my local datab

TypeORM migration results in PostgreSQL error

I am having an issue running migrations with TypeORM (with the intent of establishing my database for use in local development). In running a migration on the i

How can I mock nest typeorm database module in end to end (e2e) tests?

all. Include details about your goal: I'm trying to mock repository in e2e test Describe expected and actual results: Request to server will not have access

MongoDB find documents with a field not empty, IF EXISTS

I want to be able to query documents having a specific field's value not empty, if the field is present. Normally I'd do something like: client_comment: { '$exi

Will TypeORM @AfterRemove or @BeforeRemove entity listeners still run when the db is dropped?

Some entities in my database have a property which is their associated key on AWS S3, for example: // my.entity.ts @Column() s3Key: string; I would like one of