Jinzhu
|
90a4581a7f
|
Use method DB() to get database connection handle
|
2013-12-04 14:29:44 +08:00 |
Jinzhu
|
a0ac9992cd
|
Test use int as primary key
|
2013-12-04 14:00:39 +08:00 |
Jinzhu
|
204df61a8b
|
Add scripts to test all dialects
|
2013-12-04 12:07:19 +08:00 |
Jinzhu
|
0e8f9011bf
|
Remove unnecessary output in tests
|
2013-12-04 10:00:53 +08:00 |
Jinzhu
|
1ff630f3d5
|
Add test for float64 precision
|
2013-12-03 08:35:34 +08:00 |
Jinzhu
|
41d8e2d132
|
Quote column name to avoid issue when it same as SQL reserved words
|
2013-11-30 14:53:59 +08:00 |
Jinzhu
|
7a789c82df
|
Make sure UpdateColumn works with CamelCase
|
2013-11-24 09:17:13 +08:00 |
Jinzhu
|
31c64a9c95
|
Transaction in callbacks
|
2013-11-24 08:31:44 +08:00 |
Jinzhu
|
96ade8c619
|
NewRecord should also works with struct pointer
|
2013-11-23 22:06:52 +08:00 |
Jinzhu
|
660ee1ed73
|
Add Method NewRecord
|
2013-11-23 21:38:31 +08:00 |
Jinzhu
|
0208ce7901
|
Fix []byte type
|
2013-11-21 13:47:49 +08:00 |
Jinzhu
|
87f493d080
|
Add Scopes Support
|
2013-11-18 14:35:44 +08:00 |
Jinzhu
|
1a2eef181a
|
Add Method UpdateColumn, UpdateColumns
|
2013-11-17 21:44:11 +08:00 |
Jinzhu
|
c62568c089
|
Make Exec possible to accepts arguments
|
2013-11-17 16:47:39 +08:00 |
Jinzhu
|
b41f2957fb
|
Add method Group, Having
|
2013-11-17 13:29:01 +08:00 |
Jinzhu
|
094a546815
|
Update README
|
2013-11-17 12:02:22 +08:00 |
Jinzhu
|
bf1db1534e
|
Use channel to make gorm faster
|
2013-11-17 09:50:34 +08:00 |
Jinzhu
|
9a1c0d956d
|
cache snake, upper values
|
2013-11-17 08:28:30 +08:00 |
Jinzhu
|
8fd8604a70
|
Support use variable to keep query chain
|
2013-11-16 22:42:00 +08:00 |
Jinzhu
|
c9e8c8d16c
|
Refact tests
|
2013-11-16 22:26:34 +08:00 |
Jinzhu
|
ba6403f904
|
Fix binvar for mysql
|
2013-11-16 20:47:25 +08:00 |
Jinzhu
|
6404f803e8
|
Reflect do.go
|
2013-11-16 20:30:46 +08:00 |
Jinzhu
|
0ad707b410
|
Yay, all tests passed
|
2013-11-16 18:42:47 +08:00 |
Jinzhu
|
38f7ecdf15
|
Better do.go
|
2013-11-16 17:39:09 +08:00 |
Jinzhu
|
ca6b074dc6
|
Refact do
|
2013-11-16 13:28:22 +08:00 |
Jinzhu
|
52fd87c57b
|
Define some error codes
|
2013-11-15 18:36:39 +08:00 |
Jinzhu
|
a343223ac5
|
Fix Benchmark Tests
|
2013-11-15 12:41:32 +08:00 |
Jinzhu
|
e4612bde9c
|
Separate Field Struct
|
2013-11-14 21:26:02 +08:00 |
Jinzhu
|
c03999a44e
|
Add Tag Support
|
2013-11-14 00:03:31 +08:00 |
Jinzhu
|
788da015d1
|
Clean up code
|
2013-11-11 21:57:29 +08:00 |
Jinzhu
|
aaa73fe21d
|
Document transaction for callbacks
|
2013-11-11 19:38:52 +08:00 |
Jinzhu
|
ce91468922
|
Make Save, Delete, Updates be executed in transaction to keep data consistency
|
2013-11-11 18:40:02 +08:00 |
Jinzhu
|
c097a1919c
|
Document Logger
|
2013-11-11 17:50:27 +08:00 |
Jinzhu
|
32562b5537
|
Better Log support
|
2013-11-11 15:48:31 +08:00 |
Jinzhu
|
0327deec14
|
Cleanup some codes
|
2013-11-11 13:53:04 +08:00 |
Jinzhu
|
d550315548
|
Add Transaction Support
|
2013-11-11 13:16:24 +08:00 |
Jinzhu
|
50a1b6e3e5
|
show sql query log
|
2013-11-11 11:59:15 +08:00 |
Jinzhu
|
9bc11d6637
|
Support Logger
|
2013-11-11 11:11:49 +08:00 |
Jinzhu
|
874856a592
|
Cleanup unused code
|
2013-11-10 23:07:09 +08:00 |
Jinzhu
|
0cb1c1ba32
|
Remove unnecessary field
|
2013-11-10 22:29:53 +08:00 |
Jinzhu
|
f82d036f14
|
Better support for sql.Scanner
|
2013-11-10 19:38:28 +08:00 |
Jinzhu
|
21713a5246
|
Update sql validator for Count()
|
2013-11-10 09:57:56 +08:00 |
Jinzhu
|
328e9401a0
|
Handle sql.NullValues in search conditions
|
2013-11-10 09:41:39 +08:00 |
Jinzhu
|
8d97fdb172
|
Support NullFloat64, NullInt64, NullBool, NullString
|
2013-11-10 08:57:11 +08:00 |
Jinzhu
|
562bca71e4
|
Try to add support for NullInt64
|
2013-11-10 08:14:41 +08:00 |
Jinzhu
|
99b87315c4
|
Add Benchmark
|
2013-11-08 09:21:51 +08:00 |
Jinzhu
|
9b27735464
|
Add AutoMigrate Support
|
2013-11-07 11:42:36 +08:00 |
Jinzhu
|
5da8461161
|
auto migrate
|
2013-11-07 09:09:54 +08:00 |
Jinzhu
|
c842d46b66
|
Add Support for TableName, used to specify struct's table name
|
2013-11-06 22:13:18 +08:00 |
Jinzhu
|
da6ffd52dd
|
Add Method SingularTable
|
2013-11-06 21:43:41 +08:00 |