博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【MongoDB】The description of procedure in MongoDB
阅读量:4171 次
发布时间:2019-05-26

本文共 845 字,大约阅读时间需要 2 分钟。

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;

你可能感兴趣的文章
深入了解php底层机制
查看>>
XHProf-php轻量级的性能分析工具
查看>>
就在昨天,全球 42 亿 IPv4 地址宣告耗尽!
查看>>
Jackson Tree Model Example
查看>>
常用js收集
查看>>
如何防止sql注入
查看>>
springmvc传值
查看>>
在Eclipse中查看Android源码
查看>>
[转]C语言printf
查看>>
对话周鸿袆:从程序员创业谈起
查看>>
Mysql中下划线问题
查看>>
Xcode 11 报错,提示libstdc++.6 缺失,解决方案
查看>>
vue项目打包后无法运行报错空白页面
查看>>
1136 . 欧拉函数
查看>>
面试题:强制类型转换
查看>>
Decorator模式
查看>>
Template模式
查看>>
Observer模式
查看>>
高性能服务器设计
查看>>
图文介绍openLDAP在windows上的安装配置
查看>>