git-documentdb
Version:
Offline-first database that syncs with Git
18 lines • 770 B
TypeScript
/**
* GitDocumentDB
* Copyright (c) Hidekazu Kubota
*
* This source code is licensed under the Mozilla Public License Version 2.0
* found in the LICENSE file in the root directory of this source tree.
*/
import { Doc, FatDoc, FindOptions, SerializeFormat } from '../types';
import { GitDDBInterface } from '../types_gitddb';
/**
* Implementation of find()
*
* @throws {@link Err.DatabaseClosingError}
* @throws {@link Err.RepositoryNotOpenError}
* @throws {@link Err.InvalidJsonObjectError}
*/
export declare function findImpl(gitDDB: GitDDBInterface, collectionPath: string, serializeFormat: SerializeFormat, findOnlyJson: boolean, withMetadata: boolean, options?: FindOptions): Promise<(Doc | FatDoc)[]>;
//# sourceMappingURL=find.d.ts.map