11 2020 档案
摘要:来源:https://mp.weixin.qq.com/s/4uW6z8yvTt89_y9OyK_y5g 1.record 类型(record 是引用类型,跟 class 很像(确实差不多)) Cat pet1 = new Cat { Nick = "松子", Name = "Jack", Age
阅读全文
摘要:应尽量避免在 where 子句中使用 or 来连接条件,否则将导致引擎放弃使用索引而进行全表扫描,如: select id from t where num=10 or num=20 可以这样查询: select id from t where num=10union allselect id fr
阅读全文