C# 클래스 NDB.NouchDB

파일 보기 프로젝트 열기: Kirosoft/NouchDB 1 사용 예제들

공개 메소드들

메소드 설명
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