-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Changelog
Mauricio David edited this page Jan 31, 2020
·
5 revisions
This documentation is valid only for
v4.x
version.
- Add support to NETStandard 2.0 (with support to
Shared
mode) - New document
Expression
parser/executor - see Expression Wiki - Support index creation with expressions
col.EnsureIndex(x => x.Name, "LOWER($.Name)");
col.EnsureIndex("GrandTotal", "SUM($.Items[*].Qtd * $.Items[*].Price)");
- Query with
Include
it´s supported in Engine level with ANY nested includes
col.Include(x => x.Users)
.Include(x => x.Users[0].Address)
.Include(x => x.Users[0].Address.City)
.Find(...)
- Support complex Linq queries using
LinqQuery
compiler (works as linq to object)col.Find(x => x.Name == "John" && x.Items.Length.ToString().EndsWith == "0")
- Better execution plan (with debug info) in multi query statements
- No more external journal file - use same datafile to store temporary data
- Fixed concurrency problems (keeps thread/process safe)
- Convert
Query.And
toQuery.Between
when possible - Add support to
Query.Between
open/close interval - Same datafile from LiteDB
v3
(no upgrade needed)
- New UPDATE/SELECT statements in shell
- Shell commands parser/executor are back into LiteDB.dll
- Better shell error messages in parser with position in error
- Print query execution plan in debug
(Seek([Age] > 10) and Filter([Name] startsWith "John"))
(preparing to new visual LiteDB database management tool)
- Remove transactions
- Remove auto-id register function for custom type
- Remove index definitions on mapper (fluent/attribute)
- Remove auto create index on query execution. If the index is not found do full scan search (use
EnsureIndex
on initialize database)
Data Modeling
- Data Structure
- BsonDocument
- Object Mapping
- Relationships with Document References
- Collections
- FileStorage
Index
Query
Database
Version 4 changes
Shell