上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
摘要: > mongo --nodb> conn = new Mongo("localhost:27017");> db = conn.getDB("test")test 阅读全文
posted @ 2015-11-18 21:23 VoctrALs 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 直接的方法:db.collection.find().pretty();如果想要所有的查询都格式化,可以执行:echo "DBQuery.prototype._prettyShell = true" >> ~/.mongorc.js 阅读全文
posted @ 2015-11-18 20:40 VoctrALs 阅读(887) 评论(0) 推荐(0) 编辑
摘要: GIT 服务器端: git init --bare someRepo.git 获取master,此时客户端是没有代码的:(--bare 只克隆其仓库,不克隆工作空间) git clone ssh://userName@so.me.i.p/path/to/repo/someRepo.git 追加代码, 阅读全文
posted @ 2015-11-16 10:51 VoctrALs 阅读(596) 评论(0) 推荐(0) 编辑
摘要: sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse这样就可以在命令行中敲:eclipse,来打开eclipse了。应该还有一种方式,就像快捷方式一样。希望大神告知~ 阅读全文
posted @ 2015-10-31 17:59 VoctrALs 阅读(149) 评论(0) 推荐(0) 编辑
摘要: select column_name, table_name from information_schema.columns where table_schema='yizhan' and column_name = 'phone'; 阅读全文
posted @ 2015-08-27 22:34 VoctrALs 阅读(942) 评论(0) 推荐(0) 编辑
摘要: sudo gedit /etc/environmentpath结尾处追加 路径,如::/opt/EmbedSky/4.3.3/binsource /etc/environment,或者重启电脑??? 阅读全文
posted @ 2015-08-16 14:46 VoctrALs 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 转:http://zzstudy.offcn.com/archives/2146left join :左连接,返回左表中所有的记录以及右表中连接字段相等的记录。right join :右连接,返回右表中所有的记录以及左表中连接字段相等的记录。inner join: 内连接,又叫等值连接,只返回两个表... 阅读全文
posted @ 2015-07-24 15:45 VoctrALs 阅读(245) 评论(0) 推荐(0) 编辑
摘要: set @catId := (select categoryId from Categories limit 1); insert into Categories(CategoryId, Title, LeftValue, RightValue) values(@catId, ... 阅读全文
posted @ 2015-07-23 18:54 VoctrALs 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/zk437092645/article/details/8745647用来把文件读入内存,并且读取文件中的数据。FileReader接口提供了一个异步API,使用该API可以在浏览器主线程中异步访问文件系统,读取文件中的数据。到目前文职,只有FF3.6... 阅读全文
posted @ 2015-06-25 15:02 VoctrALs 阅读(728) 评论(0) 推荐(0) 编辑
摘要: INSERT INTO atm_project_property_rel ( project_id, property_id, property_type, create_by, create_date, update_by, ... 阅读全文
posted @ 2015-06-24 16:28 VoctrALs 阅读(228) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页