MongoDB下的高级查询示例

[root@localhost ~]# mongo MongoDB shell version: 1.8.1 connecting to: test gt; db test gt; show collections

[root@localhost ~]# mongo  
MongoDB shell version: 1.8.1 
connecting to: test  
> db  
test  
> show collections  
data_test  
system.indexes  
system.users  
> db.data_test.find().skip(3).limit(4)//分页查询,从第4条记录起,每页4条。  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf57”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “interests” : { “game” : “game4”, “ball” : “ball4”,   
“other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf58”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “interests” : { “game” : “game5”, “ball” : “ball5”,   
“other” : “nothing5” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf59”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “interests” : { “game” : “game6”, “ball” : “ball6”,   
“other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf5a”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “interests” : { “game” : “game7”, “ball” : “ball7”,   
“other” : “nothing7” } }  
> db.data_test.find({},{},4,3)//与上相同,注意此页大小和起始位置的位置  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf57”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “interests” : { “game” : “game4”, “ball” : “ball4”,   
“other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf58”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “interests” : { “game” : “game5”, “ball” : “ball5”,   
“other” : “nothing5” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf59”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “interests” : { “game” : “game6”, “ball” : “ball6”,   
“other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf5a”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “interests” : { “game” : “game7”, “ball” : “ball7”,   
“other” : “nothing7” } }  
> db.data_test.find().sort({“userName”:-1})//order by:按userName倒序  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf5c”), “userId” : “10010179”, “userName” : “Bill Tu9”, “gender” : “m9”, “interests” : { “game” : “game9”, “ball” : “ball9”,   
“other” : “nothing9” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf5b”), “userId” : “10010178”, “userName” : “Bill Tu8”, “gender” : “m8”, “interests” : { “game” : “game8”, “ball” : “ball8”,   
“other” : “nothing8” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf5a”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “interests” : { “game” : “game7”, “ball” : “ball7”,   
“other” : “nothing7” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf59”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “interests” : { “game” : “game6”, “ball” : “ball6”,   
“other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf58”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “interests” : { “game” : “game5”, “ball” : “ball5”,   
“other” : “nothing5” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf57”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “interests” : { “game” : “game4”, “ball” : “ball4”,   
“other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf56”), “userId” : “10010173”, “userName” : “Bill Tu3”, “gender” : “m3”, “interests” : { “game” : “game3”, “ball” : “ball3”,   
“other” : “nothing3” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf55”), “userId” : “10010172”, “userName” : “Bill Tu2”, “gender” : “m2”, “interests” : { “game” : “game2”, “ball” : “ball2”,   
“other” : “nothing2” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf5d”), “userId” : “100101710”, “userName” : “Bill Tu10”, “gender” : “m10”, “interests” : { “game” : “game10”, “ball” :   
“ball10”, “other” : “nothing10” } }  
{ “_id” : ObjectId(“4dd7c914b2d5f68db79cdf54”), “userId” : “10010171”, “userName” : “Bill Tu1”, “gender” : “m1”, “interests” : { “game” : “game1”, “ball” : “ball1”,   
“other” : “nothing1” } }  
> db.data_test.find({“userName”:{$ne:”Bill Tu10″},”age”:{$gt:7}})//查询userName!=’Bill Tu10′ and age>7  
{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4128”), “userId” : “10010178”, “userName” : “Bill Tu8”, “gender” : “m8”, “age” : 8, “interests” : { “game” : “game8”, “ball” :   
“ball8”, “other” : “nothing8” } }  
{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4129”), “userId” : “10010179”, “userName” : “Bill Tu9”, “gender” : “m9”, “age” : 9, “interests” : { “game” : “game9”, “ball” :   
“ball9”, “other” : “nothing9” } }  
> db.data_test.find({“age”:{$gte:2},”age”:{$lte:5}})//查询age>=2 and age{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4121”), “userId” : “10010171”, “userName” : “Bill Tu1”, “gender” : “m1”, “age” : 1, “interests” : { “game” : “game1”, “ball” :   
“ball1”, “other” : “nothing1” } }  
{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4122”), “userId” : “10010172”, “userName” : “Bill Tu2”, “gender” : “m2”, “age” : 2, “interests” : { “game” : “game2”, “ball” :   
“ball2”, “other” : “nothing2” } }  
{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4123”), “userId” : “10010173”, “userName” : “Bill Tu3”, “gender” : “m3”, “age” : 3, “interests” : { “game” : “game3”, “ball” :   
“ball3”, “other” : “nothing3” } }  
{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4124”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “age” : 4, “interests” : { “game” : “game4”, “ball” :   
“ball4”, “other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7cf07b2d5f535b69b4125”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “age” : 5, “interests” : { “game” : “game5”, “ball” :   
“ball5”, “other” : “nothing5” } }  
> db.data_test.find({“rank”:{$all:[7,7]}})//查询rank=all(7,7)  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb98”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “age” : 7, “rank” : [ 7, 7, 7 ], “interests” : {   
“game” : “game7”, “ball” : “ball7”, “other” : “nothing7” } }  
> db.data_test.find({“rank”:{$all:[7,7,7]}})//查询rank=all(7,7,7)  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb98”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “age” : 7, “rank” : [ 7, 7, 7 ], “interests” : {   
“game” : “game7”, “ball” : “ball7”, “other” : “nothing7” } }  
> db.data_test.find({“userName”:{$exists:false}})  
> db.data_test.find({“age”:{$mod:[2,0]}})//查询age%2==0  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb93”), “userId” : “10010172”, “userName” : “Bill Tu2”, “gender” : “m2”, “age” : 2, “rank” : [ 2, 2, 2 ], “interests” : {   
“game” : “game2”, “ball” : “ball2”, “other” : “nothing2” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb95”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “age” : 4, “rank” : [ 4, 4, 4 ], “interests” : {   
“game” : “game4”, “ball” : “ball4”, “other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb97”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “age” : 6, “rank” : [ 6, 6, 6 ], “interests” : {   
“game” : “game6”, “ball” : “ball6”, “other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb99”), “userId” : “10010178”, “userName” : “Bill Tu8”, “gender” : “m8”, “age” : 8, “rank” : [ 8, 8, 8 ], “interests” : {   
“game” : “game8”, “ball” : “ball8”, “other” : “nothing8” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9b”), “userId” : “100101710”, “userName” : “Bill Tu10”, “gender” : “m10”, “age” : 10, “rank” : [ 10, 10, 10 ], “interests” :   
{ “game” : “game10”, “ball” : “ball10”, “other” : “nothing10” } }  
> db.data_test.find({“rank”:{$in:[3,4]}})//查询rank in(3,4)  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb94”), “userId” : “10010173”, “userName” : “Bill Tu3”, “gender” : “m3”, “age” : 3, “rank” : [ 3, 3, 3 ], “interests” : {   
“game” : “game3”, “ball” : “ball3”, “other” : “nothing3” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb95”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “age” : 4, “rank” : [ 4, 4, 4 ], “interests” : {   
“game” : “game4”, “ball” : “ball4”, “other” : “nothing4” } }  
> db.data_test.find({“age”:{$nin:[2,3]}})//查询rank not in(2,3)  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb92”), “userId” : “10010171”, “userName” : “Bill Tu1”, “gender” : “m1”, “age” : 1, “rank” : [ 1, 1, 1 ], “interests” : {   
“game” : “game1”, “ball” : “ball1”, “other” : “nothing1” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb95”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “age” : 4, “rank” : [ 4, 4, 4 ], “interests” : {   
“game” : “game4”, “ball” : “ball4”, “other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb96”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “age” : 5, “rank” : [ 5, 5, 5 ], “interests” : {   
“game” : “game5”, “ball” : “ball5”, “other” : “nothing5” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb97”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “age” : 6, “rank” : [ 6, 6, 6 ], “interests” : {   
“game” : “game6”, “ball” : “ball6”, “other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb98”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “age” : 7, “rank” : [ 7, 7, 7 ], “interests” : {   
“game” : “game7”, “ball” : “ball7”, “other” : “nothing7” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb99”), “userId” : “10010178”, “userName” : “Bill Tu8”, “gender” : “m8”, “age” : 8, “rank” : [ 8, 8, 8 ], “interests” : {   
“game” : “game8”, “ball” : “ball8”, “other” : “nothing8” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9a”), “userId” : “10010179”, “userName” : “Bill Tu9”, “gender” : “m9”, “age” : 9, “rank” : [ 9, 9, 9 ], “interests” : {   
“game” : “game9”, “ball” : “ball9”, “other” : “nothing9” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9b”), “userId” : “100101710”, “userName” : “Bill Tu10”, “gender” : “m10”, “age” : 10, “rank” : [ 10, 10, 10 ], “interests” :   
{ “game” : “game10”, “ball” : “ball10”, “other” : “nothing10” } }  
> db.data_test.find({$or:[{“age”:{$gt:3}},{“rank”:{$all:[1,1]}}]})//查询age>3 or rank=all(1,1)  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb92”), “userId” : “10010171”, “userName” : “Bill Tu1”, “gender” : “m1”, “age” : 1, “rank” : [ 1, 1, 1 ], “interests” : {   
“game” : “game1”, “ball” : “ball1”, “other” : “nothing1” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb95”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “age” : 4, “rank” : [ 4, 4, 4 ], “interests” : {   
“game” : “game4”, “ball” : “ball4”, “other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb96”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “age” : 5, “rank” : [ 5, 5, 5 ], “interests” : {   
“game” : “game5”, “ball” : “ball5”, “other” : “nothing5” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb97”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “age” : 6, “rank” : [ 6, 6, 6 ], “interests” : {   
“game” : “game6”, “ball” : “ball6”, “other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb98”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “age” : 7, “rank” : [ 7, 7, 7 ], “interests” : {   
“game” : “game7”, “ball” : “ball7”, “other” : “nothing7” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb99”), “userId” : “10010178”, “userName” : “Bill Tu8”, “gender” : “m8”, “age” : 8, “rank” : [ 8, 8, 8 ], “interests” : {   
“game” : “game8”, “ball” : “ball8”, “other” : “nothing8” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9a”), “userId” : “10010179”, “userName” : “Bill Tu9”, “gender” : “m9”, “age” : 9, “rank” : [ 9, 9, 9 ], “interests” : {   
“game” : “game9”, “ball” : “ball9”, “other” : “nothing9” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9b”), “userId” : “100101710”, “userName” : “Bill Tu10”, “gender” : “m10”, “age” : 10, “rank” : [ 10, 10, 10 ], “interests” :   
{ “game” : “game10”, “ball” : “ball10”, “other” : “nothing10” } }  
> db.data_test.find({$nor:[{“age”:{$gt:3}},{“rank”:{$all:[1,1]}}]})//查询not (age>3 or rank=all(1,1))  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb93”), “userId” : “10010172”, “userName” : “Bill Tu2”, “gender” : “m2”, “age” : 2, “rank” : [ 2, 2, 2 ], “interests” : {   
“game” : “game2”, “ball” : “ball2”, “other” : “nothing2” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb94”), “userId” : “10010173”, “userName” : “Bill Tu3”, “gender” : “m3”, “age” : 3, “rank” : [ 3, 3, 3 ], “interests” : {   
“game” : “game3”, “ball” : “ball3”, “other” : “nothing3” } }  
> db.data_test.find({“rank”:{$size:3}})//查询rank数组大小为3的记录  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb92”), “userId” : “10010171”, “userName” : “Bill Tu1”, “gender” : “m1”, “age” : 1, “rank” : [ 1, 1, 1 ], “interests” : {   
“game” : “game1”, “ball” : “ball1”, “other” : “nothing1” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb93”), “userId” : “10010172”, “userName” : “Bill Tu2”, “gender” : “m2”, “age” : 2, “rank” : [ 2, 2, 2 ], “interests” : {   
“game” : “game2”, “ball” : “ball2”, “other” : “nothing2” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb94”), “userId” : “10010173”, “userName” : “Bill Tu3”, “gender” : “m3”, “age” : 3, “rank” : [ 3, 3, 3 ], “interests” : {   
“game” : “game3”, “ball” : “ball3”, “other” : “nothing3” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb95”), “userId” : “10010174”, “userName” : “Bill Tu4”, “gender” : “m4”, “age” : 4, “rank” : [ 4, 4, 4 ], “interests” : {   
“game” : “game4”, “ball” : “ball4”, “other” : “nothing4” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb96”), “userId” : “10010175”, “userName” : “Bill Tu5”, “gender” : “m5”, “age” : 5, “rank” : [ 5, 5, 5 ], “interests” : {   
“game” : “game5”, “ball” : “ball5”, “other” : “nothing5” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb97”), “userId” : “10010176”, “userName” : “Bill Tu6”, “gender” : “m6”, “age” : 6, “rank” : [ 6, 6, 6 ], “interests” : {   
“game” : “game6”, “ball” : “ball6”, “other” : “nothing6” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb98”), “userId” : “10010177”, “userName” : “Bill Tu7”, “gender” : “m7”, “age” : 7, “rank” : [ 7, 7, 7 ], “interests” : {   
“game” : “game7”, “ball” : “ball7”, “other” : “nothing7” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb99”), “userId” : “10010178”, “userName” : “Bill Tu8”, “gender” : “m8”, “age” : 8, “rank” : [ 8, 8, 8 ], “interests” : {   
“game” : “game8”, “ball” : “ball8”, “other” : “nothing8” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9a”), “userId” : “10010179”, “userName” : “Bill Tu9”, “gender” : “m9”, “age” : 9, “rank” : [ 9, 9, 9 ], “interests” : {   
“game” : “game9”, “ball” : “ball9”, “other” : “nothing9” } }  
{ “_id” : ObjectId(“4dd7d214b2d55d5e1db1bb9b”), “userId” : “100101710”, “userName” : “Bill Tu10”, “gender” : “m10”, “age” : 10, “rank” : [ 10, 10, 10 ], “interests” :   
{ “game” : “game10”, “ball” : “ball10”, “other” : “nothing10” } } 

相关阅读:

MongoDB Linux下的安装和启动 

MongoDB下的高级查询示例 

MongoDB Java API for 插入和单collection基本查询使用示例

MongoDB下的查询操作(与Java API查询操作对应)

linux

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至253000106@qq.com举报,一经查实,本站将立刻删除。

发布者:PHP中文网,转转请注明出处:https://www.chuangxiangniao.com/p/1955660.html

(0)
上一篇 2025年2月23日 03:43:59
下一篇 2025年2月23日 03:44:13

AD推荐 黄金广告位招租... 更多推荐

相关推荐

  • 因为一条sql语句产生了自我怀疑!

     故事是这样开始的 在一个月黑风高的夜晚 现场报过来,本该打到新服务的流量,又走到了老服务,老服务的功能不健全,很可能会让现场的用户不能支付。 需要说明一点的是,任何一个从老服务改造到新服务的时候,都不是完全把流量切过去,都需要经过一点时间…

    2025年2月23日
    100
  • 数据库分库分表,何时分?怎样分?

    一. 数据切分 关系型数据库本身比较容易成为系统瓶颈,单机存储容量、连接数、处理能力都有限。当单表的数据量达到1000W或100G以后,由于查询维度较多,即使添加从库、优化索引,做很多操作时性能仍下降严重。此时就要考虑对其进行切分了,切分的…

    2025年2月23日 数据库
    100
  • navicat premium怎么上传数据库

    首先,在Navicat Premium中连接要导出数据库的mysql数据库。 填写好连接数据库的信息后就可以连接到需要导出的数据库了。 打开要导出的数据库。 将数据库的结构和数据导出为SQL文件。 相关推荐:《Navicat for mys…

    2025年2月23日 数据库
    100
  • navicat怎么打开数据库

    1、打开Navicat,点击左上角的‘Conection’按钮。 2、点击后,弹出菜单,我们要选择是哪种类型的数据库,根据你本地部署的数据库类型来选就行了,我这里选择MySql。 3、选择后,弹出窗口,在这个窗口上我们先输入数据库的Host…

    2025年2月23日 数据库
    100
  • navicat怎么清除数据库备份

    第一步,打开Navicat。 第二步,打开mysql数据库连接。 相关推荐:《Navicat for mysql使用图文教程》 第三步,点击备份所在的数据库,并选中备份菜单,此时显示已建的备份。 第四步,右击要删除的备份,在弹出菜单中选择“…

    2025年2月23日 数据库
    100
  • navicat怎么备份数据库

    本篇经验将和大家介绍如何利用Navicat for MySQL进行数据库备份的操作,希望对大家的工作和学习有所帮助! 推荐教程:mysql入门视频教程 1、打开桌面上的或者从开始程序中找到Navicat for MySQL,如下图所示: 2…

    2025年2月23日 数据库
    100
  • navicat新建数据库的步骤

    打开navicat工具,连接上您自己的mysql服务器,然后在如图所示的连接上右击,选择新建数据库。 相关推荐:《Navicat for mysql使用图文教程》 在新建数据库对话框中,需要输入数据库名称,选择字符集和排序规则,名称建议使用…

    2025年2月23日 数据库
    100
  • navicat怎么导入本地数据库

    navicat怎么导入本地数据库,为什么我没有找到该导入的功能呢?请看下面方法。 推荐教程:MySQL入门视频教程 1、首先我们打开软件,并且连接上本地数据库,选中连接,右键打开连接,直接双击也可以的 2、在本地数据库中我们新建一个数据库用…

    2025年2月23日 数据库
    100
  • navicat如何设置高级数据库属性

    Navicat是一套快速、可靠的数据库管理工具,在设置高级连接选项卡中还可以设置高级数据库属性,是否设置高级数据库属性不做强制性要求。如果需要设置高级数据库,前提是勾选“使用高级连接”。详细介绍如下: MySQL、PostgreSQL和Ma…

    2025年2月23日
    100
  • 怎么使用navicat连接数据库

      无论是本机安装的MySQL,还是远程服务器上的MySQL,对其进行管理都特别的麻烦,如何对其进行方便简单的管理呢?Navicat是一款管理MySQL数据库的软件,其简洁明了的界面,使我们能更好的管理数据库,对其进行增删改查的操作。 推荐…

    2025年2月23日 数据库
    100

发表回复

登录后才能评论