mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-09 22:30:58 +08:00
Added delete example [skip ci]
This commit is contained in:
@@ -71,6 +71,12 @@ Update vectors
|
|||||||
UPDATE items SET embedding = '[1,2,3]' WHERE id = 1;
|
UPDATE items SET embedding = '[1,2,3]' WHERE id = 1;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Delete vectors
|
||||||
|
|
||||||
|
```sql
|
||||||
|
DELETE FROM items WHERE id = 1;
|
||||||
|
```
|
||||||
|
|
||||||
## Querying
|
## Querying
|
||||||
|
|
||||||
Use a `SELECT` clause to get the distance
|
Use a `SELECT` clause to get the distance
|
||||||
|
|||||||
Reference in New Issue
Block a user