Hello @Abhishake Jaiswal
welcome to this moderated Azure community forum.
I tested this with C# and see my finding in this blog post.
I hope it give you pointers on how to write data into the database.
It also discusses direct and queued calls.
That said, I recommend to use an EventHub in between the Azure Function and Azure Data Exploxer.
Just output your messages to the EventHub and use a data connection to ingest the data.
This makes the flow more flexible and configurable (due to the data connection settings).
You can also look into the stream using the eventhub tooling.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.