C# Класс NDB.NouchDB

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AllDocs() публичный Метод

public AllDocs ( ) : string
Результат string

Changes() публичный Метод

public Changes ( long lastUpdateSequence ) : string
lastUpdateSequence long
Результат string

Close() публичный Метод

public Close ( ) : void
Результат void

Delete() публичный Метод

public Delete ( LevelDB.Options options ) : void
options LevelDB.Options
Результат void

GetDoc() публичный Метод

public GetDoc ( string docId ) : string
docId string
Результат string

GetDocInfo() публичный Метод

public GetDocInfo ( string docId, string rev_id = "" ) : Node
docId string
rev_id string
Результат Node

GetLastSync() публичный Метод

public GetLastSync ( string uri ) : long
uri string
Результат long

Info() публичный Метод

public Info ( ) : string
Результат string

NouchDB() публичный Метод

public NouchDB ( ) : System
Результат System

NouchDB() публичный Метод

public NouchDB ( string storeName, string basePath = BASE_PATH ) : System
storeName string
basePath string
Результат System

Open() публичный Метод

public Open ( string storeName, string basePath = BASE_PATH, string>.Dictionary options = null ) : void
storeName string
basePath string
options string>.Dictionary
Результат void

PutDoc() публичный Метод

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
Результат void

PutDoc() публичный Метод

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
Результат void

ReplicateWith() публичный Метод

public ReplicateWith ( string server, string database, bool reset = false ) : long
server string
database string
reset bool
Результат long

SetLastSync() публичный Метод

public SetLastSync ( string uri, long lastSync ) : void
uri string
lastSync long
Результат void