Adding a response filter

Response filters are filters that are invoked when a response is received from the database server. Normally, the response will simply be forwarded to the client, but you can create one or more filter to interfere with that:

  • you can change the response, for instance change a result set

  • you can notify an other system about the response, perhaps for security reasons, or for logging purposes

  • you can skip the response, for instance a specific row in a result set

  • you can replace the response with your own response, for instance by inserting one or more rows in a result set, or by replacing a result set with an error message

Creating a response filter

In the Gallium Data admin app, open your project and click the New Response Filter button. Select the type of filter. In this example, let's just select Query filter - Postgres: