TMongoDocument
Posted: Sat 28 Apr 2018 01:11
Hi,
I downloaded Unidac 7.2.7 for RAD Studio XE4 to test them with MongoDB. I was be able to do the connection without issues, same with inserts, updates and deletes.
Reading the overview of https://www.devart.com/unidac/docs/mong ... rticle.htm I want to access to a document thru TMongoDocument as is told in the page
But the compiler is not able to resolve TMongoDocument. I have searched in the documentation, the examples installed with the components but I did'n find anything.
Am I doing something wrong? What is the "uses" I have to include in order to user TMongoDocument?
Thanks in advance
I downloaded Unidac 7.2.7 for RAD Studio XE4 to test them with MongoDB. I was be able to do the connection without issues, same with inserts, updates and deletes.
Reading the overview of https://www.devart.com/unidac/docs/mong ... rticle.htm I want to access to a document thru TMongoDocument as is told in the page
Code: Select all
var
Document: TMongoDocument;
begin
UniQuery1.Edit;
Document := UniQuery1.GetObject('restaurants') as TMongoDocument;
Am I doing something wrong? What is the "uses" I have to include in order to user TMongoDocument?
Thanks in advance