DataGrip
 
Get DataGrip
You are viewing the documentation for an earlier version of DataGrip.

Code Inspection: VALUES clause cardinality

Last modified: 13 May 2022

Reports situations when a number of parameters in VALUES does not match a number of columns in a target table.

Example (MySQL):

The foo table has three columns but in the INSERT INTO statement we pass four.