mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-27 03:59:10 +00:00
* Rev up prettier * Reformat * Remove deprecated tslint * Remove call to tslint and update package-lock.json
12 lines
402 B
TypeScript
12 lines
402 B
TypeScript
import { ConflictDefinition, FeedOptions, QueryIterator, Resource } from "@azure/cosmos";
|
|
import { client } from "../CosmosClient";
|
|
|
|
export const queryConflicts = (
|
|
databaseId: string,
|
|
containerId: string,
|
|
query: string,
|
|
options: FeedOptions,
|
|
): QueryIterator<ConflictDefinition & Resource> => {
|
|
return client().database(databaseId).container(containerId).conflicts.query(query, options);
|
|
};
|