C# Class MongdioLogic.MongoEditorSession

Afficher le fichier Open project: okku/Mongdio Class Usage Examples

Méthodes publiques

Méthode Description
DeleteObject ( string text ) : string
Execute ( string command, int &objectCount, IDocumentPrettyPrint printer ) : string
MongoEditorSession ( string dbname ) : System
SaveObject ( string text ) : string
TryParseTextAsDocument ( string text, bool &containsId ) : bool

Private Methods

Méthode Description
GetIntboolFromDoubleOrBool ( object args ) : int
GetQueryCommand ( string command ) : Document
ParseCollectionAndOperation ( string command, string &name, string &operation, int &take, string &sort ) : string
SplitIntoArguments ( string s ) : List
SplitIntoFunctionAndArguments ( string command, string &function, List &args ) : bool
UpdateObjectAlwaysUpsert ( string collectionName, Document doc, Mong db ) : void

Method Details

DeleteObject() public méthode

public DeleteObject ( string text ) : string
text string
Résultat string

Execute() public méthode

public Execute ( string command, int &objectCount, IDocumentPrettyPrint printer ) : string
command string
objectCount int
printer IDocumentPrettyPrint
Résultat string

MongoEditorSession() public méthode

public MongoEditorSession ( string dbname ) : System
dbname string
Résultat System

SaveObject() public méthode

public SaveObject ( string text ) : string
text string
Résultat string

TryParseTextAsDocument() public méthode

public TryParseTextAsDocument ( string text, bool &containsId ) : bool
text string
containsId bool
Résultat bool