C# Class LiteDB_V6.DbReader

Inheritance: LiteDB.IDbReader
Show file Open project: faush01/Emby.Kodi.SyncQueue

Public Methods

Method Description
GetCollections ( ) : IEnumerable

Get all collections names from header

GetDocuments ( string collection ) : IEnumerable

List all documents inside an collections. Use PK to get all documents in order

GetIndexes ( string collection ) : bool>>.IEnumerable

List all indexes keys with unique information

Initialize ( Stream stream, string password ) : bool

Initialize database reader with database stream file and password

Method Details

GetCollections() public method

Get all collections names from header
public GetCollections ( ) : IEnumerable
return IEnumerable

GetDocuments() public method

List all documents inside an collections. Use PK to get all documents in order
public GetDocuments ( string collection ) : IEnumerable
collection string
return IEnumerable

GetIndexes() public method

List all indexes keys with unique information
public GetIndexes ( string collection ) : bool>>.IEnumerable
collection string
return bool>>.IEnumerable

Initialize() public method

Initialize database reader with database stream file and password
public Initialize ( Stream stream, string password ) : bool
stream Stream
password string
return bool