Divooka.Database.LiteDB
Divooka.Database.LiteDB.LiteDBConfiguration
Remarks
Notice for in-memory DBs the persistency is as long as the current object is not disposed or GC collected - in Neo that can be fairly short and is not static/globally persistent per entire lifetime of graph. I.e. In dataflow context, everytime we "run" it's going to garbage collect afterwards (which is good) and the state is lost (which can cause some confusion if the user expects to see persisted state while developing a graph).
Divooka.Database.LiteDB.LiteDBHelper
LiteDB Helper
Divooka.Database.LiteDB.LiteDBHelper.AddDocumentFile()
Divooka.Database.LiteDB.LiteDBHelper.AddYAMLDocument()
Divooka.Database.LiteDB.LiteDBHelper.AddJSONDocument()
Divooka.Database.LiteDB.LiteDBHelper.Find()
Divooka.Database.LiteDB.LiteDBHelper.FindAll()
Divooka.Database.LiteDB.LiteDBHelper.Upload()
Remarks
To better organize many files, you can use _id as a `directory/file_id`. This will be a great solution to quickly find all files in a directory using the Find method.
Parameters
| Name | Description | Default |
|---|---|---|
id |
Files are identified by an _id string value, with following rules: 1. Starts with a letter, number, `_`, `-`, `$`, `@`, `!`, `+`, `%`, `;` or `.`, 2. If contains a /, must be sequence with chars above. Example: `$/photos/2014/picture-01.jpg` |
Divooka.Database.LiteDB.LiteDBHelper.Download()
Remarks
To better organize many files, you can use _id as a `directory/file_id`. This will be a great solution to quickly find all files in a directory using the Find method.
Parameters
| Name | Description | Default |
|---|---|---|
id |
Files are identified by an _id string value, with following rules: 1. Starts with a letter, number, `_`, `-`, `$`, `@`, `!`, `+`, `%`, `;` or `.`, 2. If contains a /, must be sequence with chars above. Example: `$/photos/2014/picture-01.jpg` |
Divooka.Database.LiteDB.LiteDBHelper.FindFiles()
Remarks
To better organize many files, you can use _id as a `directory/file_id`. This will be a great solution to quickly find all files in a directory using the Find method.
Parameters
| Name | Description | Default |
|---|---|---|
query |
Files are identified by an _id string value, with following rules: 1. Starts with a letter, number, `_`, `-`, `$`, `@`, `!`, `+`, `%`, `;` or `.`, 2. If contains a /, must be sequence with chars above. Example: `$/photos/2014/picture-01.jpg` |
Divooka.Database.LiteDB.LiteDBHelper.JsonElementToBson()
Converts a JsonElement (which can be an object, array, or primitive) into a LiteDB BsonValue (BsonDocument, BsonArray, BsonString, etc.)
Parameters
| Name | Description | Default |
|---|---|---|
element |