Find relations by source_entity_ref

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-04-19 15:27:59 +02:00
parent d126628a9b
commit 572b078563
+1 -1
View File
@@ -88,7 +88,7 @@ export class Stitcher {
}
const relationResults = await tx<DbRelationsRow>('relations')
.where({ originating_entity_id: entityId })
.where({ source_entity_ref: entityRef })
.select();
// TODO: entityRef is lower case and should be uppercase in the final result.