You’ve almost certainly added the column names in a case-sensitive environment. (PgAdmin comes to mind.) Lowercase them in that same environment to avoid the need to quote fields.
Or change your query to:
select * from places where "eventId" = 2
More Related Contents:
- When do Postgres column or table names need quotes and when don’t they?
- Strange behaviour in Postgresql
- What is PostgreSQL equivalent to autoincrement?
- How do I specify a password to ‘psql’ non-interactively?
- INSERT with dynamic table name in trigger function
- psql: FATAL: Ident authentication failed for user “postgres”
- sql statement error: “column .. does not exist”
- Use multiple conflict_target in ON CONFLICT clause
- PostgreSQL -must appear in the GROUP BY clause or be used in an aggregate function
- How to find table creation time?
- What is the format for the PostgreSQL connection string / URL?
- Go and IN clause in Postgres
- Where does PostgreSQL store the database?
- How to add “on delete cascade” constraints?
- Grant all on a specific schema in the db to a group role in PostgreSQL
- Can I make a plpgsql function return an integer without using a variable?
- Migrate database from Postgres to MySQL [closed]
- SQLAlchemy, Psycopg2 and Postgresql COPY
- How to find out if an upsert was an update with PostgreSQL 9.5+ UPSERT?
- Why can I create a table with PRIMARY KEY on a nullable column?
- Oracle SQL Developer and PostgreSQL
- Differentiate inserted and updated rows in UPSERT using system columns
- Can I use return value of INSERT…RETURNING in another INSERT?
- Changing a postgres containers server port in Docker Compose
- no pg_hba.conf entry for host
- PostgreSQL – disabling constraints
- PostgreSQL authentication method 10 not supported
- Spring Docker container cannot access Postgres Docker container
- Format specifier for integer variables in format() for EXECUTE?
- PostgreSQL composite primary key