码迷,mamicode.com
首页 >  
搜索关键字:union all    ( 25526个结果
django ORM查询
一对多查询 book表和publish表 关联属性(forginkey) 在Book表中 Book >Publish 正向查询 book_obj.publish 按字段 Publish >Book 反向查询 publish_obj.book_set.all() 按表名小写_set eg: book表 ...
分类:其他好文   时间:2020-05-27 18:33:11    阅读次数:66
查看linux系统信息命令
NAME uname - print system information SYNOPSIS uname [OPTION]... DESCRIPTION Print certain system information. With no OPTION, same as -s. -a, --all p ...
分类:系统相关   时间:2020-05-27 18:27:50    阅读次数:82
drush use dev.mentor.com | expecting statement
在多站点的环境中, 不清楚在哪个目录下运行drush cc all, 这时可以运行 drush use dev.mentor.com然后还发现一个很搞笑的事情, 在一个文件的末尾一直现实红色报错符号,一直不知道为什么报错, 为什么报错呢。 后来,我东改改西改改, 想不明白, 为啥要报错, 命名没有错 ...
分类:其他好文   时间:2020-05-27 15:48:35    阅读次数:67
CollectionUtils常用方法
CollectionUtils常用方法 是否存在交集:boolean isContained = CollectionUtils.containsAny(aList, bList); 并集:Collection<String> unionList = CollectionUtils.union(aL ...
分类:其他好文   时间:2020-05-27 15:14:53    阅读次数:50
Another git process seems to be running in this repository
Git操作的过程中显示 Another git process semms to be running in this repository, e.g. an editor opened by ‘git commit’. Please make sure all processes are term ...
分类:其他好文   时间:2020-05-27 12:19:44    阅读次数:73
hive排序后collect_set
假设存在表格如下: select 'a' as category, 19 as duration union all select 'b' as category, 15 as duration union all select 'c' as category, 12 as duration uni ...
分类:编程语言   时间:2020-05-27 11:51:22    阅读次数:328
Django简单搭建编辑页面
from django.shortcuts import render, reverse, HttpResponse, redirect from app01 import models # Create your views here. def modify(request): all_cours ...
分类:其他好文   时间:2020-05-27 09:15:31    阅读次数:71
mysql允许远程连接
一、修改/etc/mysql/my.conf 找到bind-address = 127.0.0.1这一行 改为bind-address = 0.0.0.0即可 二、为需要远程登录的用户赋予权限 1、新建用户远程连接mysql数据库 grant all on *.* to admin@'%' iden ...
分类:数据库   时间:2020-05-27 01:20:01    阅读次数:120
linux ls less tail touch head file od
ls ~ /usr 列出home目录和/usr目录的内容 -l 结果以长模式输出 ls的选项 选项 长选项 描述 -a --all 列出所有文件,甚至包括文件名以圆点开头的默认会被隐藏的隐藏文件。 -d --directory 通常,如果指定了目录名,ls 命令会列出这个目录中的内容,而不是目录本身 ...
分类:系统相关   时间:2020-05-26 20:09:08    阅读次数:68
万用工具包hutool-使用java获取文件地址,并读取其中的文件内容
场景:单纯打jar包时输入json参数必须是转义过的,很麻烦,直接从文件中读取不需要手动转义 1、加入pom文件 <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.3.5< ...
分类:编程语言   时间:2020-05-26 12:39:35    阅读次数:324
25526条   上一页 1 ... 78 79 80 81 82 ... 2553 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!