QueryConstraint class

QueryConstraint은 Firestore 쿼리에서 반환하는 문서 집합의 범위를 좁히는 데 사용됩니다. QueryConstraintwhere(), orderBy(), startAt(), startAfter(), endBefore(), endAt(), limit(), limitToLast()를 호출하여 생성되며 QueryConstraintlimitToLast()를 포함하는 쿼리에 전달하여

서명:

export declare abstract class QueryConstraint 

속성

속성 특수키 유형 설명
type QueryConstraintType 이 쿼리 제약조건의 유형

QueryConstraint.type

이 쿼리 제약조건의 유형

서명:

abstract readonly type: QueryConstraintType;