DEV Community

loading...
Cover image for Cutting delivery time

Cutting delivery time

Visakh Vijayan
Willing to learn anything and everything exciting. Always awake. Skips food for fun.
Updated on ・1 min read

I write queries in MongoDb for my clients. I was having this problem of sending snapshots of query outputs to my client to cross-verify if things were okay as per requirements before delivering them.

Since it was taking too much time I was trying to find an easy way. That is when it struck me. If you want the client to see the output without actually getting access to your queries, just go ahead and create a VIEW in the client's database.

The client can view the output instantly and you will be happy you saved time too.

Please let me know if there are any cons to this approach.

Happy programming !!!

Discussion (0)