mongo-typescript-example icon indicating copy to clipboard operation
mongo-typescript-example copied to clipboard

Example how to use TypeORM with MongoDB using TypeScript.

Results 9 mongo-typescript-example issues
Sort by recently updated
recently updated
newest added

My Entities with sub documents in MongoDB ``` @Entity() @Unique(["orderNumber"]) export class Orders { @ObjectIdColumn() id: ObjectID; @Column() @Length(4, 10) orderNumber: string; @Column(type => Product) product: Product[]; @Column() @Length(1, 50)...

I am getting these warnings..please tell me how to clear these (node:11710) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the...

var express = require('express'); var router = express.Router(); var MongoClient = require('mongodb').MongoClient; //var url = "mongodb://localhost:27017/EmployeeDB"; /* GET home page. */ router.get('/', function(req, res, next) { var setAr =[] MongoClient.connect(url,...

Is there a setting for authenticationDatabase option in the ormconfig.json? All the examples show no authentication at all. THanks.

when i change the logging config to true, i still have not get the sql log. Does this config supported by mongo?

I am using TypeORM with mango db it is working fine but i have some requirement. Add new inner item in and existing collection. How to do it? update inner...

非常感谢你的帮助,我不是很会英语,有一个问题,我创建一个连接,在某个函数里面保存该数据,在另外一个函数里面查找这个数据,他们公用一个数据库,需要使用连接,但是在不同函数里面,创建连接,会有 这个错误 非常感谢你的帮助,我不是很会英语,有一个问题,我创建一个连接,在某个函数里面保存该数据,在另外一个函数里面查找这个数据,他们公用一个数据库,需要使用连接,但是在不同函数里面,创建连接,会有 这个错误 Thank you very much for your help. I am not very good at English. There is a problem. I create a connection, save the data in...