This takes 2 trips to the DB. Is it possible to somehow chain the requests together such that i send both SQL statements at once?
Use case: my db is located in us-west-1 and my user and edge function is located in africa. If both sql statements could be made in one trip, it would lead to a faster response time.
If this is not currently possible, is such a feature conceivably possible?