From 1b1fb28f2a6a4591d178d35ee91d1fd107197b0d Mon Sep 17 00:00:00 2001 From: mbdavid Date: Wed, 14 Feb 2018 23:02:26 -0200 Subject: [PATCH] Update readme --- LiteDB.Demo/Program.cs | 2 +- LiteDB/Document/Expression/BsonExpression.cs | 2 +- README.md | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/LiteDB.Demo/Program.cs b/LiteDB.Demo/Program.cs index 1ea9b818a..7922e35dc 100644 --- a/LiteDB.Demo/Program.cs +++ b/LiteDB.Demo/Program.cs @@ -19,7 +19,7 @@ static void Main(string[] args) var e = BsonExpression.Create("arr[@p1]"); e.Parameters["p1"] = 0; - + var r = e.Execute(new BsonDocument { ["a"] = 1 }).First(); diff --git a/LiteDB/Document/Expression/BsonExpression.cs b/LiteDB/Document/Expression/BsonExpression.cs index d5af54b29..bcc92a3c7 100644 --- a/LiteDB/Document/Expression/BsonExpression.cs +++ b/LiteDB/Document/Expression/BsonExpression.cs @@ -12,7 +12,7 @@ namespace LiteDB { /// - /// Compile and execute simple expressions using BsonDocuments. Used in indexes and updates operations. See https://github.com/mbdavid/LiteDB/wiki/Expressions + /// Compile and execute string expressions using BsonDocuments. Used in all document manipulation (transform, filter, indexes, updates). See https://github.com/mbdavid/LiteDB/wiki/Expressions /// public class BsonExpression { diff --git a/README.md b/README.md index b9fe7b33b..332c619e7 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,22 @@ - New WAL (Write-Ahead Logging) for fast durability - Database lock per collection - MultiVersion Concurrency Control (Snapshots & Checkpoint) - - Multi readers - single writer + - Multi concurrent `Stream` readers - Single async writer - No lock for reader - Up to 32 indexes per collection - Atomic transactions are back (BeginTrans/Commit/Rollback) - Single physical file to store data and WAL - NET45 and NETStandard 2 support only (drop NET35/40) - Single process only - optimazed for multi thread - - Plans for async write support - Plans for B+Tree implementation - New SQL-Like Language - Support for many SQL command, like SELECT, INSERT, UPDATE - New Expression parser/compiler for complex filters + - Optional `$`/`@` representation for simple field name: `phones[type='mobile'].number` + - Support complex field name (need `$`): `$.["first name"]` + - Simplified document notation: `{ _id, name, age }` + - Parameter support: `2018 - @age` - Support for OrderBy - Support for GroupBy - Fluent complex Query