Skip to main content
Module

x/typeorm/src/index.ts>EntityMetadata#compareEntities

Forked from https://github.com/typeorm/typeorm
Latest
method EntityMetadata.prototype.compareEntities
Re-export
import { EntityMetadata } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Compares two different entities by their ids. Returns true if they match, false otherwise.

Parameters

firstEntity: ObjectLiteral
secondEntity: ObjectLiteral

Returns

boolean