piccolo
piccolo copied to clipboard
Table names compatibility
Is table with name like "students-teaches" compatible with this ORM? Have such tables and got some errors with joins via join_on
Names with - in them might cause issues. Unless they're wrapped in quotes i.e. "students-teaches" Postgres will complain. Underscores are preferred.
Names with
-in them might cause issues. Unless they're wrapped in quotes i.e."students-teaches"Postgres will complain. Underscores are preferred.
It shouidn't be a problem. ORM must solve this itself (e.g. NodeJS Typeorm).