MongoDBThe description of procedure in MongoDB
Posted wzzkaifa
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MongoDBThe description of procedure in MongoDB相关的知识,希望对你有一定的参考价值。
In this blog the procedure of mongodb will be described in details. It is known that mongodb has provided a series of efficient solution to some different questions, such as high performance, changeable type and so on. Compared with the mysql database, the
mongodb also support the procedure process. The first thing that you should know about procedure is the language, javascript. In the next time, I will set an example to describe this question:
In the above example, the command ‘db.eval()’ must be attached importance because of its strange feature. We could write the logic into this method and meanwhile call it without declaring the procedure process before calling.
In the above exmple, one question should be cared about. When you use procedure process, you should define the procedure in the database where you want to use procedure;
以上是关于MongoDBThe description of procedure in MongoDB的主要内容,如果未能解决你的问题,请参考以下文章
MongoDBThe basic operation of Index in MongoDB
RefactoringCodeThe description of the refactoring book
canonical description of Markdown’s syntax
Homework1 of Software Project Management-- a project description