Suraj Dubey

Suraj Dubey

  • 932
  • 840
  • 43.4k

Create PostgreSQL function that connect database and execute query

Mar 10 2022 6:28 AM

Hello friends,
  i am creating one project with microservices. i am using postgresql database. i want to create function that will connect the database and perform query and return result.(inshort the function is generic that will connect to to any tenant).
If any one have the any idea pls suggest.
thanks suraj dubey.