I have been trying to migrate my databases from MySql to Postgres but I've encountered a big issue that I can't seem to find how to fix.
I have a row inserted into the table called "users" and that table has Columns such as UserID, Username, etc. as seen here:
Now In my C# Code that is accessing the Database and grabbing the data, Im sending this query to the database:
SELECT * FROM users WHERE 'Username'='Eevee';
Which I tried, but that only resulted in me not getting any rows out of that query as shown here:
I tried querying it without those quotes around the Column name but that only resulted in me getting the
ERROR: column "username" does not exist
LINE 1: SELECT * FROM users WHERE Username='Eevee'
^
HINT: Perhaps you meant to reference the column "users.Username".
Which one of my friends hinted to happens because Postgres makes everything outside of quotes lowercase, but then we're back to the other issue.
Im new to Postgres and I'm trying to learn this but this is a hard wall that I can't seem to fix myself.
Thanks in advance!