随笔分类 -  web系统

摘要:delete from如何修改和删除同一个表中的字段 delete from history where ind in (select a.ind from (select ind from history where year=2021 and group_id=3 and month=7) as 阅读全文
posted @ 2021-08-21 12:12 zae 阅读(990) 评论(0) 推荐(0) 编辑
摘要:alter table member auto_increment=460 创建mysql数据表,设置id列递增、主键 create table running_log ( id int primary key auto_increment, routename varchar(255), log 阅读全文
posted @ 2021-06-24 14:23 zae 阅读(71) 评论(0) 推荐(0) 编辑
摘要:neo4j简单查询 https://neo4j.com/docs/cypher-refcard/current/ 参考卡片 neo4j存储格式 where子句 match (p:FP{kprq:'王佳慧'}) return p limit 10 match(p:Person{name:"王涛"})- 阅读全文
posted @ 2021-03-16 17:27 zae 阅读(155) 评论(0) 推荐(0) 编辑
摘要:爬虫解析库:XPath dateTime = inner_html.xpath('//span[@class="laiyuan laiyuan1"]/span[@id="data"]/text()') 属性选择@,class、id等等。 子孙结点用//,子节点用/。 /text()转换文本。//te 阅读全文
posted @ 2021-03-01 16:59 zae 阅读(52) 评论(0) 推荐(0) 编辑
摘要:基本操作 查表 select * from media where source like "新华社" order by time desc limit 20; oder by time desc 降序 limit 字符串匹配,like;模糊"%新华%" 如何去重插入 设置主键 alter tabl 阅读全文
posted @ 2021-02-27 21:26 zae 阅读(74) 评论(0) 推荐(0) 编辑
摘要:1.后端如何得到前端数据 1)如果前端提交的方法为POST: 后端接收时要写methods=[‘GET’,‘POST’] xx=request.form.get(xx); xx=request.form[’‘xx’] 2)如果是GET xx=request.args.get(xx) 2.后端向前端传 阅读全文
posted @ 2021-02-26 20:00 zae 阅读(3147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示