@squidcloud/client
Version:
A typescript implementation of the Squid client
17 lines (16 loc) • 465 B
TypeScript
import { Alias, SquidDocument } from '../public-types';
/**
* Represents a collection of documents associated with a specific alias
* in a query, typically used in joined query results.
* @category Database
*/
export interface DocsAndAlias {
/**
* An array of documents retrieved as part of the query.
*/
docs: Array<SquidDocument>;
/**
* The alias associated with the documents in a joined query context.
*/
alias: Alias;
}