convex-ents 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/deletion.js.map +1 -1
- package/dist/functions.js +1 -1
- package/dist/functions.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/schema.js +2 -2
- package/dist/schema.js.map +1 -1
- package/dist/writer.js +1 -1
- package/dist/writer.js.map +1 -1
- package/package.json +1 -1
package/dist/functions.js
CHANGED
|
@@ -804,7 +804,7 @@ var PromiseEdgeOrNullImpl = class _PromiseEdgeOrNullImpl extends PromiseEntsOrNu
|
|
|
804
804
|
return null;
|
|
805
805
|
}
|
|
806
806
|
const edgeDoc = this.ctx.db.query(this.edgeDefinition.table).withIndex(
|
|
807
|
-
`${this.edgeDefinition.field}
|
|
807
|
+
`${this.edgeDefinition.field}_${this.edgeDefinition.ref}`,
|
|
808
808
|
(q) => q.eq(this.edgeDefinition.field, sourceId).eq(
|
|
809
809
|
this.edgeDefinition.ref,
|
|
810
810
|
targetId
|