promise.all 主要是等所有的接口都调完,再进行下一步操作 例如,这里要等两个接口都请求回来,然后进行修改一个状态 methods里面的两个接口 watch里面的操作 ` ` ...
分类:
其他好文 时间:
2020-01-09 01:05:09
阅读次数:
89
[TOC] 一、如何开启自己的测试脚本? 这样就可以直接运行你的test.py文件来运行测试 二、对表数据的添加、更新、删除 1.create() 2.update() 3.delete() 4.查看执行的sql语句 三、 单表查询13个操作 返回QuerySet对象的方法有: 1.all() 查询 ...
分类:
其他好文 时间:
2020-01-08 22:53:50
阅读次数:
109
1、复习 ->select 查询详解 select distinct(去除重复的) \ top … from + 表名 where + 筛选的条件 group by 分组 having order by ->union uninall ->datediff(second,startdate,endd ...
分类:
数据库 时间:
2020-01-08 22:53:19
阅读次数:
87
简介 MySQL 提供了一个 EXPLAIN 命令, 它可以对 SELECT 语句进行分析, 并输出 SELECT 执行的详细信息, 以供开发人员针对性优化.EXPLAIN 命令用法十分简单, 在 SELECT 语句前加上 Explain 就可以了, 例如: EXPLAIN SELECT * fro ...
分类:
数据库 时间:
2020-01-08 21:18:22
阅读次数:
91
git reset has three primary options that we might use: --soft, --hard and --mixed (the default). We'll use git reset to undo the latest commit in all ...
分类:
其他好文 时间:
2020-01-08 21:04:23
阅读次数:
75
电脑概览电脑型号 华硕 All Series操作系统 Microsoft Windows 7 旗舰版 (64位/Service Pack 1)CPU (英特尔)Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz(3201 MHz)主板 华硕 TROOPER B85内存 4 ...
分类:
其他好文 时间:
2020-01-08 20:53:41
阅读次数:
71
功能: 可以接受路径参数,主要是通过该路径所在的文件系统,来了解对应文件系统的磁盘使用情况. 格式: Usage: df [OPTION]... [FILE]... df [选项]...[文件] 选项: -a, --all include dummy file systems // 包含所有的文件系 ...
分类:
其他好文 时间:
2020-01-08 17:17:36
阅读次数:
86
R shows all the variables: ls() R remove some variable: rm("variable_name") or rm(variable_name) R remove all the variables: rm(list=ls()) R get the v ...
分类:
其他好文 时间:
2020-01-08 12:50:33
阅读次数:
68
Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 ... n. Example: Input: 3 Output: [ [1,null,3,2], ...
分类:
其他好文 时间:
2020-01-08 12:43:14
阅读次数:
72
Cmder用来执行命令行程序,替代Windows系统默认的cmd。 具体开发过程中可能会频繁使用命令行,建议安装并注册到右键菜单。 【1】下载 官网下载《Cmder》 便携包,解压缩,即可使用。 【2】右键添加 (1)管理员权限执行命令:Cmder.exe /REGISTER ALL 如下图: 注意 ...
分类:
其他好文 时间:
2020-01-08 00:43:07
阅读次数:
97