I have a database structure for Collection1 with a field with dbref like this:
"field_name" : DBRef("Collection2", ObjectId("5c3e25aaf1a79a001f1dbb08"), "database_name")
I want to get only the ObjectId of the field_name with tMongoDBInput but I can't do it.
With MongoShell, I can do it with this request :
Anyone has any idea? Thanks.
Are you able to use the tMongoDBRow component to run a simple command like the following: "db.TalendTest.find()"?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema