Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdavid committed Feb 15, 2018
1 parent 1412387 commit 1b1fb28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LiteDB.Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion LiteDB/Document/Expression/BsonExpression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace LiteDB
{
/// <summary>
/// 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
/// </summary>
public class BsonExpression
{
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b1fb28

Please sign in to comment.