C# Class NDB.NouchDB

Afficher le fichier Open project: Kirosoft/NouchDB Class Usage Examples

Méthodes publiques

Méthode Description
AllDocs ( ) : string
Changes ( long lastUpdateSequence ) : string
Close ( ) : void
Delete ( LevelDB.Options options ) : void
GetDoc ( string docId ) : string
GetDocInfo ( string docId, string rev_id = "" ) : Node
GetLastSync ( string uri ) : long
Info ( ) : string
NouchDB ( ) : System
NouchDB ( string storeName, string basePath = BASE_PATH ) : System
Open ( string storeName, string basePath = BASE_PATH, string>.Dictionary options = null ) : void
PutDoc ( string docId, string data ) : void

Update or insert a new document into the database

PutDoc ( string docId, string data, string revId ) : void

Update or insert a new document into the database

ReplicateWith ( string server, string database, bool reset = false ) : long
SetLastSync ( string uri, long lastSync ) : void

Method Details

AllDocs() public méthode

public AllDocs ( ) : string
Résultat string

Changes() public méthode

public Changes ( long lastUpdateSequence ) : string
lastUpdateSequence long
Résultat string

Close() public méthode

public Close ( ) : void
Résultat void

Delete() public méthode

public Delete ( LevelDB.Options options ) : void
options LevelDB.Options
Résultat void

GetDoc() public méthode

public GetDoc ( string docId ) : string
docId string
Résultat string

GetDocInfo() public méthode

public GetDocInfo ( string docId, string rev_id = "" ) : Node
docId string
rev_id string
Résultat Node

GetLastSync() public méthode

public GetLastSync ( string uri ) : long
uri string
Résultat long

Info() public méthode

public Info ( ) : string
Résultat string

NouchDB() public méthode

public NouchDB ( ) : System
Résultat System

NouchDB() public méthode

public NouchDB ( string storeName, string basePath = BASE_PATH ) : System
storeName string
basePath string
Résultat System

Open() public méthode

public Open ( string storeName, string basePath = BASE_PATH, string>.Dictionary options = null ) : void
storeName string
basePath string
options string>.Dictionary
Résultat void

PutDoc() public méthode

Update or insert a new document into the database
public PutDoc ( string docId, string data ) : void
docId string ID of the document to store or update
data string string data for the associated document
Résultat void

PutDoc() public méthode

Update or insert a new document into the database
public PutDoc ( string docId, string data, string revId ) : void
docId string ID of the document to store or update
data string string data for the associated document
revId string specific version add by revId
Résultat void

ReplicateWith() public méthode

public ReplicateWith ( string server, string database, bool reset = false ) : long
server string
database string
reset bool
Résultat long

SetLastSync() public méthode

public SetLastSync ( string uri, long lastSync ) : void
uri string
lastSync long
Résultat void