Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL Case Sensitive Issue #58

Open
PlayingForChangeDev opened this issue Jun 21, 2022 · 0 comments
Open

PostgreSQL Case Sensitive Issue #58

PlayingForChangeDev opened this issue Jun 21, 2022 · 0 comments

Comments

@PlayingForChangeDev
Copy link

PlayingForChangeDev commented Jun 21, 2022

@bymayo I'm using postgresql and the columns are case sensitive, for example this query

SELECT COALESCE(sum(orders.totalPrice), 0) AS "totalRevenue", COALESCE(count(orders.id), 0) AS "totalOrders" FROM "commerce_orders" "orders" INNER JOIN "elements" "elements" ON elements.id = orders.id

It doesn't work, but if I change it this way it works

SELECT COALESCE(sum(orders."totalPrice"), 0) AS "totalRevenue", COALESCE(count(orders."id"), 0) AS "totalOrders" FROM "commerce_orders" "orders" INNER JOIN "elements" "elements" ON elements.id = orders.id

https://stackoverflow.com/questions/21796446/postgres-case-sensitivity

So no widget works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant