Can Lua Envoy filter connect to RDBS or any database

Hi Team,

We are looking for an option where the Payload body, the header should be stored in a database. I tried Lua envoy filter where I am able to get payload body and header information. How I can store it into databse.

Thanks,
Pragati Jain