Commit cbb7bbe
committed
test(pgsql): unskip Test_Issue1412 by using DB column name in with tag
The MySQL version uses \`with:Id=ItemId\` where the left side is a Go field
name, which only works because MySQL identifiers are case-insensitive.
PgSQL follows SQL standard (double-quoted identifiers are case-sensitive),
so the left side must be the actual DB column name (\`id\`).
The right side (\`ItemId\`) stays as a Go field name — framework resolves it
via case-insensitive struct field matching.1 parent e791e30 commit cbb7bbe
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
825 | | - | |
| 825 | + | |
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
| |||
0 commit comments