我对mysql了解的太少了,连mysql版本特性的changelog都不知道的。
2015年,MySQL 5.7发布,其包括如下重要特性及更新。
…
原生支持JSON类型,并引入了众多JSON函数。
…
起因是我在用spring-data-elasticsearch的时候,发现部分接口设计的让人看起来特别不爽。如下图所示:
想不到官方文档还有好几个版本,先看了《Elasticsearch - The Definitive Guide:》,后面再去官网点进去看居然发现内容不一样了,原来是没找对回家的路,应该看这个:
作用域是指计算机语言中变量、函数、类等起作用的范围。
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 flushall
OK
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 set key1 abc
OK
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 set key2 abc
OK
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 rpush key3 1
OK
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 rpush key3 2
OK
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 rpush key3 3
OK
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 llen key3
3
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 sadd key4 a
1
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 sadd key4 b
1
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 sadd key4 a
0
[dlx@localhost redis-1.0]$
[dlx@localhost redis-1.0]$ ./redis-cli -h 127.0.0.1 keys key*
key2 key3 key4 key1
[dlx@localhost redis-1.0]$ save
今天对redis进行了考古,从google source上下了redis 1.0版本的源码。