Jinzhu
|
0b32041135
|
Review and Refactor
|
2015-02-17 22:55:14 +08:00 |
Jinzhu
|
38cbff9c79
|
Refactor Associations
|
2015-02-17 20:19:47 +08:00 |
Jinzhu
|
aa8bc02c11
|
Fix broken test for postgres
|
2015-01-14 07:59:21 +08:00 |
Jinzhu
|
5823670269
|
Refactor callbck_create
|
2014-12-13 10:46:16 +08:00 |
Paolo Galeone
|
e30cf3bbd1
|
Fix number of columns affected. Is always one. The old parameter was the numer of fields affected
|
2014-12-08 20:33:31 +01:00 |
Paolo Galeone
|
907ea93b43
|
Fixes scan when primary key is not defined in gorm (but is defined db-size). Useful in join tables
|
2014-12-08 19:00:02 +01:00 |
Paolo Galeone
|
21f4de584f
|
Use tableName.field or tableName.* in returning string
|
2014-12-08 12:03:42 +01:00 |
Paolo Galeone
|
0fa1335555
|
Avoid Errors in postgres when creating a row without a GORM defined primary key (but defined db-side)
|
2014-12-08 11:33:30 +01:00 |
Jinzhu
|
75819b2bb3
|
Refactor DefaultValue
|
2014-11-17 17:38:32 +08:00 |
Paolo Galeone
|
064d91335b
|
Add default values support ( https://github.com/jinzhu/gorm/issues/251 )
|
2014-11-15 18:32:35 +01:00 |
Jinzhu
|
953c347ba7
|
Refactor Scope
|
2014-09-02 19:03:01 +08:00 |
Jinzhu
|
6271cf0e55
|
Fix tests for postgres
|
2014-08-30 22:39:28 +08:00 |
Jinzhu
|
f984bc8515
|
Refact code
|
2014-08-30 21:42:35 +08:00 |
Cihangir SAVAS
|
4e90fbf4e8
|
gorm: added ability to change the time.now format
|
2014-08-23 01:00:04 -07:00 |
Jinzhu
|
bbb3b50d0a
|
Don't set primary key is alrady exists
|
2014-07-11 10:05:28 +08:00 |
Jinzhu
|
938618a3e2
|
Refact callback_create
|
2014-06-12 11:54:47 +08:00 |
Vladimir Garvardt
|
d2e526bc2d
|
db.Create() for force insert with predefined primary key
|
2014-06-12 00:51:43 +04:00 |
Jinzhu
|
bab148f90c
|
Fix RowsAffected tests
|
2014-06-09 08:19:24 +08:00 |
Jinzhu
|
f32fa0cb6e
|
Add RowsAffected for DB
|
2014-06-05 17:58:14 +08:00 |
Jinzhu
|
0cba662be0
|
Add method QuotedTableName for Scope
|
2014-06-03 17:17:30 +08:00 |
Jinzhu
|
2fff8a7fac
|
Revert "quote table name"
This reverts commit 38a06bfdaa .
|
2014-06-03 17:16:34 +08:00 |
Jinzhu
|
38a06bfdaa
|
quote table name
|
2014-05-24 09:54:17 +08:00 |
Cihangir SAVAS
|
c465d3214f
|
set updated_at and created_at with the same timestamp, prevent record from having slight difference between fields
|
2014-05-12 12:52:47 +03:00 |
Jinzhu
|
ddc1f9156a
|
Fix insert empty record into database
|
2014-04-29 17:42:10 +08:00 |
Jinzhu
|
b713479174
|
change callback names
|
2014-01-29 10:28:20 +08:00 |
Jinzhu
|
f1d990e92a
|
rename scope.quote to scope.Quote
|
2014-01-28 16:22:41 +08:00 |
Jinzhu
|
506d14a2f2
|
make callback deletes works
|
2014-01-27 22:36:08 +08:00 |
Jinzhu
|
23feade663
|
use callback update when save
|
2014-01-27 11:25:55 +08:00 |
Jinzhu
|
7b8e91377b
|
callback create.go
|
2014-01-26 21:23:53 +08:00 |
Jinzhu
|
8dd7b4ed91
|
make callback create works
|
2014-01-26 19:36:15 +08:00 |
Jinzhu
|
973acd6339
|
Add callback create, delete
|
2014-01-26 12:41:37 +08:00 |