- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 begin_nested 使用,各种墙,看个文档也作难。
Using SAVEPOINTSAVEPOINT transactions, if supported by the underlying engine, may bedelineated using the begin_nested()method:Session = sessionmaker()session = Session()session.add(u1)session.add(u...
2018-06-22 12:00:50 571
转载 postgresql 操作相关
更新值:UPDATE tig_users SET account_status = 1 WHERE ID < 3;设置默认值:ALTER TABLE table_name ALTER COLUMN column_name SET DEFAULT default_value;插入新行 INSERT INTO products (product_no, name, price) VALUES (...
2018-05-17 08:47:36 130
原创 docker
1、sudo docker exec -it containerID /bin/bash 2、COPY ./hive-schema-2.3.0.postgres.sql /tmp/hive-schema-2.3.0.postgres.sql COPY ./hive-txn-schema-2.3.0.postgres.sql /tmp/hive-txn-schema-2.3.0.postgre...
2018-04-04 23:33:00 118
原创 flask babel的错误解决方法
<div> <div class="panel-heading"> <div class="row"> <div class="col-sm-6" ng-click="collapsed = !collapsed"> <a class="panel-to
2018-03-19 22:05:07 579
原创 如何合并两个android工程。
1.启动AndroidStudio后,打开你需要接收Library的项目。比如有两个项目,项目A,和Library项目B,那么打开项目A。2.在下拉菜单中依次找到New— —Import Module,点击打开项目导入窗口。project的导入就完成了。3、打开倒入的b对应的build.gradle下边apply plugin: 'com.android.application' 改成apply ...
2018-02-10 21:26:20 2372 1
转载 备份个函数,应该能用到!!
sock_queu_rcv_skb()函数的实现如下:[cpp] view plain copy /* * Queue a received datagram if it will fit. Stream and sequenced protocols * can't normally use this as they need to fit buffers
2016-08-05 10:40:52 172
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人