2024年3月21日

mysql-存储引擎

摘要: 1.mysql 的体系结构 下面这张图值得注意的是不同的存储引擎的Index 不一样,从5.5 版本以后存储引擎默认的就是InnoDB了。 2. 存储引擎 --查询建表语句 默认存储引擎:InnoDB show create table course; --查询当前数据库支持的存储引擎 show e 阅读全文

posted @ 2024-03-21 09:15 朝颜陌 阅读(2) 评论(0) 推荐(0) 编辑

2024年3月14日

mysql-约束

摘要: 1.总结 create table user( id int primary key auto_increment comment '主键', name varchar(10) not null unique comment '姓名', age int check( age > 0 && age < 阅读全文

posted @ 2024-03-14 09:06 朝颜陌 阅读(1) 评论(0) 推荐(0) 编辑

2024年2月29日

greenplum5.17安装手册

摘要: 前置: 软件安装包下载: 可以从官方下载(需要账号) https://network.pivotal.io/products/vmware-greenplum#/releases/301769/file_groups/1397 也可以从csdn 地址下载: greenplum-db-5.17.0-r 阅读全文

posted @ 2024-02-29 11:24 朝颜陌 阅读(24) 评论(0) 推荐(0) 编辑

2024年2月19日

centos 7安装sql server 2019

摘要: 1.下载安装包: 参考地址:https://packages.microsoft.com/rhel/7/mssql-server-2019/mssql-server-15.0.4083.2-15.x86_64.rpm 找一个自己喜欢的版本,下载下来。或者找大神们的百度网盘也行。 2.将文件拷贝到虚拟 阅读全文

posted @ 2024-02-19 11:05 朝颜陌 阅读(101) 评论(0) 推荐(0) 编辑

2023年9月25日

node 下载安装包出错

摘要: 1. 不知道为什么,安装就出错,试了好几种方式 终于好了记录一下 解决:前置条件:node 1. 1> npm config set legacy-peer-deps true 2> npm cache clean --force 然后用npm install 安装就行2. 启动的时候又报了如下的错 阅读全文

posted @ 2023-09-25 16:38 朝颜陌 阅读(22) 评论(0) 推荐(0) 编辑

2023年7月5日

ES6 生成器

摘要: //需要先获取用户数据在 获取用户的订单,在获取订单中的商品信息 function getUsers(){ setTimeout(() => { console.log("11111111111") let data = '用户数据' iterator.next(data) },1000) } fu 阅读全文

posted @ 2023-07-05 17:37 朝颜陌 阅读(3) 评论(0) 推荐(0) 编辑

es6 iterator

摘要: // 需求 使用for of 便利对象并返回对象数组的值 let banji = { name:"火箭一班", stus:[ "limuzi", "nini", "zhaoliying", "xiena" ], [Symbol.iterator](){ let _this = this let in 阅读全文

posted @ 2023-07-05 11:40 朝颜陌 阅读(3) 评论(0) 推荐(0) 编辑

es6 中Symbol

摘要: let game = { up: function(){ console.log("up methods!") }, down: function (){ console.log("down methods!") } } // es6 symbol 用法 可以给已经封装好的方法上加上方法 let m 阅读全文

posted @ 2023-07-05 11:12 朝颜陌 阅读(1) 评论(0) 推荐(0) 编辑

2023年5月18日

vue 环境问题记录

摘要: 1.项目初始化报错 npm ERR command git --no-replace-objects ls-remote ssh://git@github-com/nhn/raphael-git 这一块的报错 是需要本地生成的SSH keys添加到gitHub里面,可以参照如下链接的博主就弄好了。h 阅读全文

posted @ 2023-05-18 11:45 朝颜陌 阅读(21) 评论(0) 推荐(1) 编辑

2022年10月28日

vue 中watch 回调函数和methos中方法的区别

摘要: 1.vue 中代码 <el-input v-model="searchkey" placeholder="键名" @input="handleInput" clearable style="max-width:300px;"></el-/utils/commonwen文件加下 export func 阅读全文

posted @ 2022-10-28 18:05 朝颜陌 阅读(79) 评论(0) 推荐(0) 编辑

导航