Hello guys I'm trying to find all the results that have a in them. I have tried a couple of ways but the problem is nothing works. It just returns  an empty array     var data = await  getRepository(User)                         .createQueryBuild...
I created a REST API using NestJs with TypeORM. Basically this is my user entity  @Entity('User') export class User extends BaseEntity {   @PrimaryGeneratedColumn()   public id: number;    @Column({ unique: true })   public username: string;...
I'm trying since 2 days to solve this, perhaps I'm simply missing the point here.  My goal was to write a NestJS app (with TypeORM included) which serves a RestAPI for 2 or 3 of my little projects, instead of writing a NestJS-App for every si...
After first problem with JWT_MODULE_OPTION, back to old problem who I thought I was fixed. It turned out that when I "fix" old problem create the new with JWT.   So again can't compile:  Nest can't resolve dependencies of the AuthServ...
I've been working with active record and data mapper implementations of ORM enough to know the problems with using active record implemented ORM in my large projects. Right now I'm thinking to migrate one of my projects to node.js and trying...
I'm using TypeORM with the fallowing configuration file: ormconfig.json  { "type": "mysql", "host": "localhost", "port": 3306, "username": "root", "password": "my-secret-pw",...
I am a beginner in Nest.js and I found it extremely good. I read the official docs and learned about DTOs. When My Body is like this:    {   "username" : "username",   "password" : "password" }     then I can simply cr...
I have two .env files like dev.env and staging.env. I am using typeorm as my database ORM. I would like to know how to let typeorm read either of the config file whenever I run the application. Error: No connection options were found in any of config...
I have a column kid_ages which is Integer[]. When migrating, I get the following error:  DataTypeNotSupportedError: Data type "Array" in "home.kid_ages" is not supported by "postgres" database.  I tried adding the following op...
I've created a ormconfig.env file in the nestjs starter project and put the variables from this documentation in there and added this line here  @Module({   imports: [     TypeOrmModule.forRoot(),     TaskModule,   ], }) export class AppModule {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.