Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

queryEqual

Returns true if the provided queries point to the same collection and apply the same constraints.

function queryEqual<AppModelType, DbModelType extends DocumentData>(left: Query<AppModelType, DbModelType>, right: Query<AppModelType, DbModelType>): boolean;
§
queryEqual<AppModelType, DbModelType extends DocumentData>(left: Query<AppModelType, DbModelType>, right: Query<AppModelType, DbModelType>): boolean
[src]

§Type Parameters

§
AppModelType
[src]
§
DbModelType extends DocumentData
[src]

§Parameters

§
left: Query<AppModelType, DbModelType>
[src]
  • A Query to compare.
§
right: Query<AppModelType, DbModelType>
[src]
  • A Query to compare.

§Return Type

§
boolean
[src]

true if the references point to the same location in the same Firestore database.