MongoDB Stored Procedure Equivalent

前端 未结 3 833
死守一世寂寞
死守一世寂寞 2020-11-29 23:16

I have a large CSV file containing a list of stores, in which one of the field is ZipCode. I have a separate MongoDB database called ZipCodes, which stores the latitude and

3条回答
  •  南方客
    南方客 (楼主)
    2020-11-29 23:57

    The closest thing to an equivalent of a stored procedure in mongodb is stored javascript. A good introduction to stored javascript is available in this article on Mike Dirolf's blog.

提交回复
热议问题