Skip to content

Commit

Permalink
docs: Fix ON CONFLICT markdown
Browse files Browse the repository at this point in the history
Signed-off-by: Akshat Sikarwar <[email protected]>
  • Loading branch information
akshatsikarwar committed Jan 29, 2025
1 parent b96ca78 commit 81f7303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/programming/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ may be an AUTOINCREMENT for longlong fields), or with NULL if no default value i
The second form of the ```INSERT``` statement takes its data from a ```SELECT``` statement. The number of columns in the
result of the SELECT must exactly match the number of columns in the table if no column list is specified, or it
must match the number of columns named in the column list. A new entry is made in the table for every row of the
```SELECT``` result. The ```SELECT``` may be simple or compound. Note that if followed by an ``ON CONFLICT``` clause,
```SELECT``` result. The ```SELECT``` may be simple or compound. Note that if followed by an ```ON CONFLICT``` clause,
the ```SELECT``` statement **must** have a ```WHERE``` clause. Column names in the expressions of a ```DO UPDATE```
refer to the original unchanged value of the column, before the attempted ```INSERT```. To use the value that would
have been inserted had the constraint not failed, add the special "excluded." table qualifier to the column name.
Expand Down

0 comments on commit 81f7303

Please sign in to comment.