我们对mongodb使用nosql的方式和对oracle使用sql的方式一样吗?

时间:2021-09-20 16:27:21

I will ask my question as an example . If we use ORACLE as a database , and if we want to get data from it what we should know is SQL . with the help of an sql we can get the data from oracle.

我将以我的问题为例。如果我们使用ORACLE作为数据库,如果我们想从中获取数据,我们应该知道SQL。借助sql,我们可以从oracle获得数据。

If we use Mongo db as a database do we have to know about NoSql . ??

如果我们使用Mongo db作为数据库,我们是否需要了解NoSql。? ?

in simpler terms . SQL for ORACLE . And NoSql for MongoDB ? am i right .?

在简单的条款。对于ORACLE SQL。MongoDB的NoSql呢?我说的对吗?

1 个解决方案

#1


3  

There is no such thing as the NoSQL query language. All the databases usually grouped under the catch-all label "NoSQL" are completely different technologies which are used in completely different ways.

没有NoSQL查询语言这种东西。所有的数据库通常被归类在“NoSQL”标签下,它们是完全不同的技术,以完全不同的方式使用。

MongoDB has a query language which is based on javascript object notations. It doesn't have much to do with SQL and not anything either with the query languages of most other NoSQL databases. An interactive tutorial can be found on the MongoDB website. It should give you a basic understanding of how the query language works. The full documentation is a good source of in-depth knowledge.

MongoDB有一种基于javascript对象表示法的查询语言。它与SQL没有多大关系,也与大多数其他NoSQL数据库的查询语言没有任何关系。可以在MongoDB网站上找到一个交互式教程。它应该使您对查询语言如何工作有一个基本的了解。完整的文档是深入知识的良好来源。

Keep in mind that when you learned everything about MongoDB and its query language, you still know absolutely nothing about other NoSQL databases like Redis, Neo4j, CouchDB etc.. These are as different from MongoDB (and as different from each other) as MongoDB is different from SQL databases.

请记住,当您了解了MongoDB及其查询语言的一切之后,您仍然完全不了解其他NoSQL数据库,如Redis、Neo4j、CouchDB等。它们与MongoDB不同(彼此也不同),就像MongoDB与SQL数据库不同一样。

#1


3  

There is no such thing as the NoSQL query language. All the databases usually grouped under the catch-all label "NoSQL" are completely different technologies which are used in completely different ways.

没有NoSQL查询语言这种东西。所有的数据库通常被归类在“NoSQL”标签下,它们是完全不同的技术,以完全不同的方式使用。

MongoDB has a query language which is based on javascript object notations. It doesn't have much to do with SQL and not anything either with the query languages of most other NoSQL databases. An interactive tutorial can be found on the MongoDB website. It should give you a basic understanding of how the query language works. The full documentation is a good source of in-depth knowledge.

MongoDB有一种基于javascript对象表示法的查询语言。它与SQL没有多大关系,也与大多数其他NoSQL数据库的查询语言没有任何关系。可以在MongoDB网站上找到一个交互式教程。它应该使您对查询语言如何工作有一个基本的了解。完整的文档是深入知识的良好来源。

Keep in mind that when you learned everything about MongoDB and its query language, you still know absolutely nothing about other NoSQL databases like Redis, Neo4j, CouchDB etc.. These are as different from MongoDB (and as different from each other) as MongoDB is different from SQL databases.

请记住,当您了解了MongoDB及其查询语言的一切之后,您仍然完全不了解其他NoSQL数据库,如Redis、Neo4j、CouchDB等。它们与MongoDB不同(彼此也不同),就像MongoDB与SQL数据库不同一样。