You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I am trying to figure out how to rename properties that exist underneath relations in my Loopback 2 application. My application is a library that I am using in another application. In my other application I have a postgres database that translates these properties to the column names. I'd like the column names to be snake_case. These are my properties:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am trying to figure out how to rename properties that exist underneath relations in my Loopback 2 application. My application is a library that I am using in another application. In my other application I have a postgres database that translates these properties to the column names. I'd like the column names to be snake_case. These are my properties:
"preferredPackoutContainerTypesContainerType": { "type": "embedsMany", "model": "ContainerType", "property": "preferredPackoutContainerTypes", "options": { "validate": false, "forceId": false } }, "alternatePackoutContainerTypesContainerType": { "type": "embedsMany", "model": "ContainerType", "property": "alternatePackoutContainerTypes", "options": { "validate": false, "forceId": false } },
I tried following this thread loopbackio/loopback-connector-postgresql#130 to solve it but no luck. Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions