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/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}-${this.edgeDefinition.ref}`,
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