随笔分类 -  数据库

摘要:BEGIN DECLARE no_more_record INT DEFAULT 0; DECLARE work_num INT DEFAULT 0; DECLARE work_id BIGINT(20); DECLARE work_cursor CURSOR FOR SELECT id FROM 阅读全文
posted @ 2022-03-15 20:06 JOKI丶 阅读(56) 评论(0) 推荐(0) 编辑
摘要:delete from custom_review_record where id in ( select t.id from (select min(id) as id, COUNT(reportId) as num from custom_review_record where nodeId = 阅读全文
posted @ 2021-11-05 15:45 JOKI丶 阅读(78) 评论(0) 推荐(0) 编辑
摘要:报错:db.collection.find({}, { "record" : 0 , "index.teacher_base_name" : 1 , "_id" : 0}) queryObject.fields().exclude("_id"); queryObject.fields().exclu 阅读全文
posted @ 2021-08-11 19:20 JOKI丶 阅读(24) 评论(0) 推荐(0) 编辑
摘要:window安装 略 Linux安装 下载解压 # 下载 wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.8.tgz # 解压 tar -zxvf mongodb-linux-x86_64-ubunt 阅读全文
posted @ 2021-04-22 14:01 JOKI丶 阅读(97) 评论(0) 推荐(0) 编辑
摘要:创建(insert) 语法结构: db.collection.insert( <document or array of documents>, { writeConcern: <document>, ordered: <boolean> } ) document :插入集合中的文档。 writeC 阅读全文
posted @ 2021-03-26 10:19 JOKI丶 阅读(48) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示