C# 클래스 KidoZen.Indexes

파일 보기 프로젝트 열기: kidozen/kido-xamarin

공개 메소드들

메소드 설명
All ( ) : Task>
Create ( string spec, bool safe = false, bool unique = false, bool sparse = false, bool background = false, bool dropDups = false, double min = null, double max = null ) : Task>

Delete ( string name ) : Task>
Get ( string name ) : Task>

비공개 메소드들

메소드 설명
Indexes ( KZApplication app, Uri url ) : System

메소드 상세

All() 공개 메소드

public All ( ) : Task>
리턴 Task>

Create() 공개 메소드

public Create ( string spec, bool safe = false, bool unique = false, bool sparse = false, bool background = false, bool dropDups = false, double min = null, double max = null ) : Task>
spec string JSON string with the index's specification. {lastName:1, firstName:1}
safe bool
unique bool
sparse bool
background bool creates the index in the background, yielding whenever possible
dropDups bool a unique index cannot be created on a key that has pre-existing duplicate: values. If you would like to create the index anyway, keeping the first document the database: indexes and deleting all subsequent documents that have duplicate value
min double for geospatial indexes set the lower bound for the co-ordinates
max double for geospatial indexes set the high bound for the co-ordinates.
리턴 Task>

Delete() 공개 메소드

public Delete ( string name ) : Task>
name string
리턴 Task>

Get() 공개 메소드

public Get ( string name ) : Task>
name string
리턴 Task>