Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Commit c953a21

Browse files
1 parent 5b6a2a1 commit c953a21

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

docs/concepts/foreign-key-constraints.md

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Foreign key constraints'
33
subtitle: 'Learn more about using foreign key constraints in PlanetScale.'
4-
date: '2024-03-18'
4+
date: '2024-11-05'
55
---
66

77
## What is a foreign key constraint?
@@ -83,22 +83,6 @@ For example:
8383
REPLACE INTO tbl SELECT * FROM tbl2;
8484
```
8585

86-
#### `UPDATE` or `DELETE` with a `LIMIT` statement
87-
88-
For example:
89-
90-
```
91-
UPDATE tbl SET col = 3 LIMIT 1;
92-
```
93-
94-
#### `UPDATE` or `DELETE` with multiple tables statement
95-
96-
For example:
97-
98-
```
99-
DELETE t1, t2 FROM t1 INNER JOIN t2 INNER JOIN t3 WHERE t1.id=t2.id AND t2.id=t3.id;
100-
```
101-
10286
#### `UPDATE` for a foreign key column statement and referencing the column being updated in the same `UPDATE` statement
10387

10488
For example:

0 commit comments

Comments
 (0)