| searchDocs<Model>(text, option?) | document를 검색하고 docs만 반환합니다. | |
| searchCount<Model>(text) | 검색어와 일치하는 document 수를 반환합니다. | |
id로 document 하나를 불러옵니다. 없으면 error를 던집니다.
id로 document 하나를 불러옵니다. 없으면 null을 반환합니다.
id 배열로 document를 batch load합니다.
input data로 document를 생성합니다.
document를 수정하고 수정된 document를 반환합니다.
generated database service 흐름으로 document를 삭제하거나 soft-remove합니다.
document를 검색하고 docs와 count를 반환합니다.
document를 검색하고 docs만 반환합니다.
검색어와 일치하는 document 수를 반환합니다.
| method | 설명 | 예제 |
|---|---|---|
| list<Query>(...args, option?) | document filter와 일치하는 목록을 조회합니다. | |
| listIds<Query>(...args, option?) | document filter와 일치하는 id 목록을 조회합니다. | |
| find<Query>(...args, option?) | 일치하는 document 하나를 찾고 없으면 null을 반환합니다. | |
| findId<Query>(...args, option?) | 일치하는 document id 하나를 찾고 없으면 null을 반환합니다. | |
| pick<Query>(...args, option?) | 일치하는 document 하나를 찾습니다. 없으면 error를 던집니다. | |
| pickId<Query>(...args, option?) | 일치하는 document id 하나를 찾습니다. 없으면 error를 던집니다. | |
| exists<Query>(...args) | 일치하는 document가 존재하는지 확인합니다. | |
| count<Query>(...args) | 일치하는 document 수를 반환합니다. | |
| insight<Query>(...args) | 일치하는 document의 aggregated insight를 조회합니다. | |
| query<Query>(...args) | document filter의 raw query object를 반환합니다. | |
document filter와 일치하는 목록을 조회합니다.
document filter와 일치하는 id 목록을 조회합니다.
일치하는 document 하나를 찾고 없으면 null을 반환합니다.
일치하는 document id 하나를 찾고 없으면 null을 반환합니다.
일치하는 document 하나를 찾습니다. 없으면 error를 던집니다.
일치하는 document id 하나를 찾습니다. 없으면 error를 던집니다.
일치하는 document가 존재하는지 확인합니다.
일치하는 document 수를 반환합니다.
일치하는 document의 aggregated insight를 조회합니다.
document filter의 raw query object를 반환합니다.
remove 전에 실행됩니다.
remove 후에 실행됩니다. 계속 진행하려면 document를 반환합니다.