PostgreSQL without PostgREST?

Am I right in assuming that the only way to access a PostgreSQL database with Workers is by using PostgREST? The reason I ask is that that solution in my view isn’t ideal: It essentially adds another layer between the user and the data (another HTTP API in addition to the API that you make in Workers). Is there a way to connect a “normal” PostgreSQL (through a tunnel) to Workers so that you can use something like the pg library or Knex.js?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.