外键的使用 外键的概念: 一个表的主键在另外一个表中出现,在另外一个表中称为外键 作用:表间的数据插入、更新的时候的一种约束 创建外键: 已经存在的表建立外键: alter table 表名 add foreign key (当前表的字段) references 表名(字段) 创建表的时候建立外键 ...
分类:
数据库 时间:
2020-03-30 20:07:00
阅读次数:
75
Reference "Go maps in action" "Comparison operators" Declaration and initialization A Go map type looks like this: where KeyType may be any type that ...
分类:
其他好文 时间:
2020-03-30 16:07:43
阅读次数:
78
使用& 表示reference可以用当前的值来表示原来的那个值, 数的地址保持不变 相较于a = b;相当于是进行赋值操作 /* & 表示引用 */ #include <iostream> using namespace std; int main(void) { int a = 10; int& ...
分类:
编程语言 时间:
2020-03-30 15:53:36
阅读次数:
63
第一步检查Maven环境变量 记得加每个变量前加; 第二步:Window preferences Java Installed JREs 选中用的jdk Edit 的Default VM Arguments中 加入一句: -Dmaven.multiModuleProjectDirectory=$M2 ...
分类:
其他好文 时间:
2020-03-30 12:40:49
阅读次数:
78
源自:ITU-T Y.QKDN Arch文稿 1. General structure of QKDN Figure 1 summarizes the reference model and main elements of a QKDN and a user network based in [I ...
分类:
其他好文 时间:
2020-03-29 18:01:11
阅读次数:
68
Basketball Reference.com 数据源地址 http://labfile.oss.aliyuncs.com/courses/782/data.zip数据下载地址 用到的三张表 Team Per Game Stats Opponent Per Game Stats Miscellan ...
分类:
编程语言 时间:
2020-03-29 12:46:58
阅读次数:
106
MySQL :: MySQL 8.0 Reference Manual :: 4.5.4 mysqldump — A Database Backup Program https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#mysqldump-pe ...
分类:
数据库 时间:
2020-03-28 23:49:31
阅读次数:
199
今天处理数据时用到了Array.from()和Array.fill()方法,平时用的不多,这里记一下。 我的需求是要把字符串'abc',处理为[{exaple: 'abc_001.bcd'}, {exaple: 'abc_002.bcd'}, {exaple: 'abc_003.bcd'}] 处理方 ...
分类:
其他好文 时间:
2020-03-28 00:57:11
阅读次数:
68
1、 #region 程序集 System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram ...
分类:
其他好文 时间:
2020-03-27 21:43:37
阅读次数:
65
1、 #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // C:\Program Files (x86)\Reference Assemblies\Microsoft\Fr ...
分类:
其他好文 时间:
2020-03-27 21:41:47
阅读次数:
86