-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
The semantics for retrieving metadata seem rather verbose. In order to populate a Document I have I have to call the Meta function several times.
db.Query<TestDataEntity>().Select(s => new Document<TestDataEntity>
{
Id = N1QlFunctions.Meta(s).Id,
Cas = N1QlFunctions.Meta(s).Cas,
Content = s
}).First()It really seems like there should be a way to just directly map the metadata to a Document or even better to properties on the POCO object. Something like the BsonIdAttribute in MongoDb.
Metadata
Metadata
Assignees
Labels
No labels