开始写后端工程: cnpm i express body-parser jwt-simple cors express-session connect-mongo mongoose -S ...
分类:
其他好文 时间:
2020-06-19 23:10:37
阅读次数:
92
使用 EXPLAIN 函数可以清楚的查看语句的执行情况 EXPLAIN select id from b_nc_card where id != 10000; 一共查询了:530912 行 优化后 EXPLAIN (select id from b_nc_card where id > 10000) ...
分类:
数据库 时间:
2020-06-19 19:19:51
阅读次数:
56
tr tr 命令可以用来删除一段文本信息中的某些文字或者将其进行转换。 删除存在于SET1的字符 echo "hello world" | tr -d "lod" # "he wr" -d 删除和SET1中的字符匹配的所有字符 删除与SET2匹配的连续并重复的字符 echo "hello" | tr ...
分类:
系统相关 时间:
2020-06-19 13:51:25
阅读次数:
58
1 String.format("%tc",new Date()); 2 //结果 3 // Sun Nov 28 14:52:41 MST 2004 4 //总结: tc会输入全部的时间 5 6 7 8 String.format("%tr", new Date()); 9 //结果 10 //0 ...
分类:
编程语言 时间:
2020-06-19 00:43:52
阅读次数:
52
好风凭借力,送我上青云。 介绍 SQLAlchemy对象关系映射器提供了一种将用户定义的Python类与数据库表以及这些类(对象)的实例与相应表中的行关联起来的方法 1. 安装 pip install sqlalchemy -i https://pypi.doubanio.com/simple 2. ...
分类:
数据库 时间:
2020-06-18 15:49:30
阅读次数:
49
1078 Hashing (25分) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of ...
分类:
其他好文 时间:
2020-06-17 12:38:08
阅读次数:
61
什么是MediatR 项目地址:https://github.com/jbogard/MediatR Simple mediator implementation in .NET In-process messaging with no dependencies. Supports request/ ...
分类:
其他好文 时间:
2020-06-17 01:35:56
阅读次数:
124
bootstraptable通过数据属性或javascript以表格格式显示数据 通过数据属性(把数据写死) <table data-toggle="table"> <thead> <tr> <th>Item ID</th> <th>Item Name</th> <th>Item Price</th ...
分类:
编程语言 时间:
2020-06-17 01:13:40
阅读次数:
58
一次面试题,突然问到这个,当时竟然忘记怎么答了,现在想到了 方法一 可以使用JSON.stringify() 空对象的形式: 或者 new Object(); var obj = {}; var obj2 = new Object(); JSON.stringify(obj) '{}'; // tr ...
分类:
其他好文 时间:
2020-06-16 18:47:00
阅读次数:
53
1、前端页面 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content- ...
分类:
编程语言 时间:
2020-06-16 18:42:48
阅读次数:
70