method MemoryAdapter.prototype.findEntityById MemoryAdapter.prototype.findEntityById(entity: string,id: EntityKey): Promise<Record<string, unknown> | null> Find a single entity by its primary key value. Parameters entity: string Entity name id: EntityKey Primary key value (scalar or composite record) Return Type Promise<Record<string, unknown> | null> The entity or null