Skip to content

Commit 1aac1f1

Browse files
committed
Updated readme [skip ci]
1 parent 0d447c0 commit 1aac1f1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const items = await knex('items')
131131
.limit(5);
132132
```
133133

134-
Also supports `maxInnerProduct` and `cosineDistance`
134+
Also supports `maxInnerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
135135

136136
Add an approximate index
137137

@@ -188,7 +188,7 @@ const items = await Item.query()
188188
.limit(5);
189189
```
190190

191-
Also supports `maxInnerProduct` and `cosineDistance`
191+
Also supports `maxInnerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
192192

193193
Add an approximate index
194194

@@ -243,7 +243,7 @@ const items = await db.selectFrom('items')
243243
.execute();
244244
```
245245

246-
Also supports `maxInnerProduct` and `cosineDistance`
246+
Also supports `maxInnerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
247247

248248
Add an approximate index
249249

@@ -301,7 +301,7 @@ const items = await Item.findAll({
301301
});
302302
```
303303

304-
Also supports `maxInnerProduct` and `cosineDistance`
304+
Also supports `maxInnerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
305305

306306
Add an approximate index
307307

@@ -611,7 +611,7 @@ const items = await em.createQueryBuilder(Item)
611611
.getResult();
612612
```
613613

614-
Also supports `maxInnerProduct` and `cosineDistance`
614+
Also supports `maxInnerProduct`, `cosineDistance`, `l1Distance`, `hammingDistance`, and `jaccardDistance`
615615

616616
See a [full example](tests/mikro-orm/index.test.mjs)
617617

0 commit comments

Comments
 (0)