LiteDB - A .NET NoSQL Document Store in a single data file
MIT License
Bot releases are visible (Hide)
LiteDatabase
to LiteEngine
(GetCollectionNames
, CollectionExists
, DropCollection
, RenameCollection
, Shrink
). To access, use: db.Engine.GetCollectionNames()
.Stream
or you can write your own disk access layerpassword=
in connection string)BsonDocument
(like Configurations in EntityFramework)DbRef
mapping (see unit tests examples)shrink()
Initial Size
and Limit Size
database (connection string)using(var transaction = db.BeginTrans()) { ... }
InsertBulk
is only Insert
UserVersion
to dev make your own version control)DbRef<T>
class, see: https://github.com/mbdavid/LiteDB/wiki/DbRef
LiteDB.Shell.exe myold.db --upgrade mynew.db
)db.collection.stats
Lite.Core
that support PCL/UWPLiteDatabase
instances.BsonMapper.Global
are backRegisterAutoId<T>
are backOnModelCreating
. Use BsonMapper.Global
instanceUserVersion
update checking. Now UserVersion
is only an int
stored in header page (update version must be developed in your solution)Stream
or you can write your own disk access layerBsonDocument
(like Configurations in EntityFramework)DbRef
mapping (see unit tests examples)shrink()
Initial Size
and Limit Size
database (connection string)InsertBulk
is only Insert
begin
, commit
and rollback
)UserVersion
This version is beta and can be changed before final release.
UserVersion
Published by mbdavid over 9 years ago
_type
on BsonMapperPublished by mbdavid over 9 years ago
Find
operations - using auto-creation index when there is no field index_type
when using interfaces/generic object #32 and #27 - thanks to @francoislgx => x.IsActive
- thanks to Lars StenbergPublished by mbdavid over 9 years ago
BsonSerializer
removing fastBinaryJson and implement real BSON specificationBsonMapper
to get more configurable POCO from/to BsonDocumentBsonMapper
supports user custom type converterJsonReader
implementation: 4 times fasterObjectId
to be used in Id documentsBsonDocument
supports only BSON data types as specification[BsonIndex]
to mark your entity property to auto create index when queryFind()
can be executed without an index (will execute a full document scan)CompareTo()
FindAll()
supports ascending/descending resultsQuery.Contains
Min()
/Max()
value from an indexDbRef<>
- a simple class for reference document_master
collection - avoid 1 page readTo prepare LiteDB to future, version 1.x break compatibility with 0.x. Small external changes, but very important to make a better source structure:
Upgranding from v0.x
Task<>
in future)LiteEngine
is now LiteDatabase
Collection
is now LiteCollection
FileEntry
is now LiteFileInfo
BsonObject
- now only exits BsonDocument
BsonDocument#Id
- use BsonDocument#["_id"]
Published by mbdavid over 9 years ago
Id
and <ClassName>Id
identity in POCO class