Skip to content

Commit 7d77215

Browse files
committed
Update docs with newest columns in document repository
1 parent 5d36c5e commit 7d77215

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

assets/img/document.png

3.34 KB
Loading

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ await docs.PutAsync(new Product("book", "9781473217386")
164164
});
165165
```
166166

167-
The `DocumentType` is the `Type.FullName` of the entity type, and the `DocumentVersion` is
168-
the `Major.Minor` of its assembly, which could be used for advanced data migration scenarios.
167+
The `Type` column persisted in the table is the `Type.FullName` of the persited entity, and the
168+
`Version` is the `Major.Minor` of its assembly, which could be used for advanced data migration scenarios.
169+
The major and minor version components are also provided as individual columns for easier querying
170+
by various version ranges, using `IDocumentRepository.EnumerateAsync(predicate)`.
169171

170172
In addition to the default built-in JSON plain-text based serializer (which uses the
171173
[System.Text.Json](https://www.nuget.org/packages/system.text.json) package), there are other

0 commit comments

Comments
 (0)