Commit Graph

54 Commits

Author SHA1 Message Date
b6d935523a add inet type for Postgres 2016-12-12 22:34:13 +02:00
ac935ad4e0 Merge pull request #321 from r0nni3/r0nni3-patch-isnull-filter
isnull filter needs boolean value for the Filter function
2016-11-20 22:42:54 +01:00
fb93677604 isnull filter needs boolean value for the Filter function
With changes suggested by @amrfaissal
2016-11-16 16:39:54 -04:00
deacdaa667 Fixes the filename and lineNo in debug log message 2016-11-14 18:05:34 +01:00
cf7aef47f0 Implementing the new logging infrastructure
Moved logging to the new logging infrastructure by removing the use of
ColorLog() function. Added more documentation. Also fixed some typos in
comments and function names.
2016-11-13 15:14:48 +01:00
0d0bea81bf 去掉offset(int64)赋0值,去掉query (map[...]...)定义,以符合Lint 2016-09-09 15:38:44 +08:00
411aa43080 修改PUT和Get One 错误的注释 2016-09-09 15:27:36 +08:00
ad34b7be2a 修改函数注释,以符合Lint规范 2016-09-09 15:20:59 +08:00
88a60a59ae Merge pull request #229 from czm1989/develop
Develop
2016-08-19 01:26:36 +08:00
cb064f68b7 兼容query中的日期、时间参数。如:query=xxTime.lt:2016-01-01T23:22:21+08:00 2016-08-18 23:25:20 +08:00
f1787c5beb Reorganized imports 2016-08-01 17:50:02 +02:00
338dfc65ed New tweaks
Added enhanced logging while using bee to scaffold code
Fixed some typos and errors
Added more error handling
Added more docs
2016-07-31 23:30:35 +02:00
bc963e0070 go lint 2016-07-23 02:05:01 +03:00
6835c5e551 Merge branch 'master' into develop
fix bug of new err
2016-07-21 10:04:59 +08:00
acf35e9151 fix bug of newer error 2016-07-20 20:49:09 +08:00
01e7ff3774 This fixes #201 2016-05-26 18:17:24 +02:00
6481a96ca4 allow any schema in PostgresDB;
如果选择 PostgreSQL,允许定制的 schema;
2016-03-11 23:39:17 +08:00
76fa75b8fc Fix bug that execute the cmd not in application catalog
2015/12/31 10:02:34 [INFO] Using matching model 'Post'
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.getPackagePath(0xc082005b60, 0xf, 0x0, 0x0)
E:/ossbuild/src/bee/g_appcode.go:988 +0x5f7
main.generateController(0xc0820022b0, 0x4, 0xc082005b60, 0xf)
E:/ossbuild/src/bee/g_controllers.go:52 +0xadc
main.generateScaffold(0xc0820022b0, 0x4, 0xc0821150c0, 0x16,
0xc082005b60, 0xf,
0xc082118040, 0x5, 0xc0821150e0, 0x1e)
E:/ossbuild/src/bee/g_scaffold.go:18 +0x2d7
main.generateCode(0xc0de40, 0xc08200c1b0, 0x3, 0x3, 0x0)
E:/ossbuild/src/bee/g.go:123 +0x16c9
main.main()
E:/ossbuild/src/bee/bee.go:114 +0x37d
2016-01-07 11:51:31 +08:00
807c3de8a7 fix issue with new version 2016-01-06 11:55:56 +08:00
20d77d9979 Merge branch 'master' into develop 2015-12-18 14:42:37 +08:00
f2bbe62bce add post and put json invalid fomart filter 2015-11-25 22:24:10 +08:00
dec41734bd ServeJson-->ServeJSON,update to match beego develop 2015-10-22 11:32:21 +08:00
e2ee2a8a79 update the status cide 2015-10-16 23:44:11 +08:00
47e8ce32d9 add jsonb and timestamp with time zone to postgres data types 2015-06-09 14:29:43 -05:00
d5ba3ff52f Merge pull request #73 from Lao-liu/master
自动生成基于数据库的Hprose发布服务。
2015-05-09 15:00:21 +08:00
d70e2c2a2b add tableName to model file 2015-03-03 23:35:46 +08:00
976602bc01 change this to short name 2014-11-05 22:48:09 +08:00
930049f7de update the GetInt to GetInt64 2014-11-05 13:53:42 +08:00
2e7cd9b414 1. remove unused typeMappingMysqlOfRpc type.
2. update README.md
2014-10-23 13:09:22 +08:00
f75d8997ef 自动生成基于数据库的Hprose发布服务。 2014-10-14 21:30:32 +08:00
1fd0e0860b support for json type 2014-09-05 10:03:21 +08:00
1641f1edbd Merge remote-tracking branch 'upstream/master' 2014-09-04 10:54:43 +08:00
9fd3e28cb6 added interval & uuid as string type for postgres 2014-09-04 10:53:29 +08:00
f994d2f6cf Fix camel case fails if name starts with _ 2014-09-01 12:41:39 -03:00
97ea34cc80 truncate before overwritten 2014-08-28 17:31:37 +08:00
05882bb4f6 add time into temporal type 2014-08-28 17:11:56 +08:00
5ec39d71ed add time type 2014-08-27 12:01:13 +08:00
d0c36db1ca support tinyblob mediumblob 2014-08-27 11:41:31 +08:00
b3674b5b06 support bit type 2014-08-27 11:08:32 +08:00
8a2cb2ae1c minor fix 2014-08-22 16:04:07 +08:00
b14868c908 code gen for postgres 2014-08-22 15:50:13 +08:00
b9ff4255ff rename for clarity 2014-08-21 11:55:54 +08:00
99b99321e9 added data type mapping for postgresql 2014-08-21 11:53:12 +08:00
5c85c10b18 minor changes 2014-08-21 11:01:40 +08:00
f2528fcf79 minor clean up 2014-08-21 10:54:21 +08:00
4fe9c4ddcd refactor long if to switch case, more error messages 2014-08-21 10:45:52 +08:00
9bf23ea88a help/error message correction and import lib/pq 2014-08-21 10:19:44 +08:00
e42dc06fd8 add binary data type in mapping 2014-08-19 18:04:22 +08:00
9e2699dbd6 minor fomatting 2014-08-19 17:47:29 +08:00
82b7ab3e31 import package for no-pk models 2014-08-19 17:43:08 +08:00