I have MongoDB data which uses _id
as BinData
object.
{
"_id" : BinData(3,"ABRWTIFGPEeSFf69fISAOA=="),
"Email" : "XXXXX@msn.com",
}
How to set annotation mapping for _id
from type BinData
?
I have MongoDB data which uses _id
as BinData
object.
{
"_id" : BinData(3,"ABRWTIFGPEeSFf69fISAOA=="),
"Email" : "XXXXX@msn.com",
}
How to set annotation mapping for _id
from type BinData
?
after #444 merged into master ,we can deal with BinData Obejct
into MongoDB
as MongoBinData Object
with same type \MongoBinData::UUID
(3)
Annotation we must use int this case when we use Doctrine MongoDB ODM is @Id(type="bin_uuid")