Commit Graph

172 Commits

Author SHA1 Message Date
Shirou WAKAYAMA b4fc3d9753 add document about DropTableIfExists. 2014-08-05 23:16:22 +09:00
Jinzhu df4a00a945 Update README with Associations 2014-07-30 22:50:27 +08:00
Jinzhu 0c63e57f5c Use tag to set primary key 2014-07-29 18:21:36 +08:00
Jinzhu 11bfaba497 Update README 2014-07-18 15:43:01 +08:00
Vytautas Šaltenis 3587dbee4d Fix link to section in README
It seems to be case sensitive, change tableName -> tablename.
2014-07-12 13:37:58 +03:00
Jinzhu bdaecff30d Update README 2014-07-09 10:18:07 +08:00
Jinzhu 8be30beee9 Fix typo in README 2014-06-13 10:54:37 +08:00
Vladimir Garvardt d2e526bc2d db.Create() for force insert with predefined primary key 2014-06-12 00:51:43 +04:00
Jinzhu 744cb7dfda Update README 2014-06-05 18:23:22 +08:00
Vladimir Garvardt d1dc0ccbef AddUniqueIndex 2014-06-01 02:35:56 +04:00
Vladimir Garvardt cdce84fd1a AddIndex for multiple columns 2014-06-01 02:26:17 +04:00
Jinzhu 3264b82368 Fix auto migration for sqlite 2014-04-29 15:39:06 +08:00
Benjamin Ruston 14ea47c280 fix minor grammar issues and broken header link in README.md 2014-04-19 13:04:56 +01:00
Duke 98e9670b8e fixed example code 2014-04-10 03:49:00 -03:00
Paolo Galeone bcb1ca67c0 Add support for primary key different from id 2014-04-06 04:10:45 +02:00
Jinzhu 65e594e2d6 Fix README 2014-03-15 09:05:08 +08:00
Jinzhu 6bb7c8b744 Add callback.go 2014-01-23 16:43:39 +08:00
Lee Brooks 1019783c90 Added installation note to the docs 2014-01-05 15:07:50 +02:00
Jinzhu 68bb65d942 temporary remove codebot, Will add it back when gorm's tests could be run in its box 2014-01-04 14:28:36 +08:00
Jinzhu 13302ba410 Add Joins support 2014-01-04 14:23:55 +08:00
Jinzhu d64f4825d7 Add Codebot 2014-01-04 13:38:41 +08:00
Jinzhu 4125526ef6 Improve Logger 2014-01-03 19:23:41 +08:00
Jinzhu 09c26cb387 Merge pull request #43 from leebrooks0/master
Added a note to the docs that Gorm uses reflection to know which tables ...
2014-01-03 02:25:07 -08:00
Jinzhu 8010616e89 Add method Raw and Scan 2014-01-03 18:14:51 +08:00
Lee Brooks 37abd81de2 Added a note to the docs that Gorm uses reflection to know which tables to work with 2014-01-03 11:26:50 +02:00
Jinzhu 3e24b14906 Update TODO 2014-01-03 14:54:47 +08:00
Lee Brooks 4203bc15c6 Made some small improvements to the documentation 2014-01-02 19:27:41 +02:00
Jinzhu dd77ca6df7 Add AfterFind callback 2013-12-30 12:47:29 +08:00
Trevor Rosen f3b09997d2 Fix typo in docs
* Use '.' to bring exported identifiers into main namespace (not '_')
2013-12-27 18:50:26 -06:00
Trevor Rosen 09334a8bb7 Remove typo from DB access example in README 2013-12-27 16:09:43 -06:00
Jinzhu e2f8d29d7f Add RecordNotFound tests for method Related 2013-12-23 21:15:09 +08:00
Jinzhu 90a4581a7f Use method DB() to get database connection handle 2013-12-04 14:29:44 +08:00
haoxin c37227346c Update README.md 2013-11-29 09:33:59 +08:00
Jinzhu 81a44f0283 Convert Tab to Spaces in README 2013-11-26 11:39:07 +08:00
Jinzhu 0e2bef7006 Add Method RecordNotFound() 2013-11-24 11:29:37 +08:00
Jinzhu 31c64a9c95 Transaction in callbacks 2013-11-24 08:31:44 +08:00
Jinzhu 660ee1ed73 Add Method NewRecord 2013-11-23 21:38:31 +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 5411291173 Rename UpdateColumn to ModifyColumn 2013-11-17 20:38:43 +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 282b5d872c Document Row & Rows 2013-11-17 12:09:40 +08:00
Jinzhu 094a546815 Update README 2013-11-17 12:02:22 +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 52fd87c57b Define some error codes 2013-11-15 18:36:39 +08:00
Jinzhu 5a02c2ec27 Update README 2013-11-15 17:37:21 +08:00
Jinzhu 4e1e2a0fbb Update README 2013-11-15 17:27:16 +08:00
Jinzhu c1c13129f1 Finish dialects 2013-11-14 19:09:27 +08:00
Jinzhu c03999a44e Add Tag Support 2013-11-14 00:03:31 +08:00
Jinzhu 6b31a9a41f Use MIT License 2013-11-12 07:14:28 +08:00
Jinzhu 788da015d1 Clean up code 2013-11-11 21:57:29 +08:00
Jinzhu 23db784911 Update TODO 2013-11-11 19:46:04 +08:00
Jinzhu aaa73fe21d Document transaction for callbacks 2013-11-11 19:38:52 +08:00
Jinzhu 3d2128e743 Update README 2013-11-11 17:51:39 +08:00
Jinzhu c097a1919c Document Logger 2013-11-11 17:50:27 +08:00
Jinzhu d550315548 Add Transaction Support 2013-11-11 13:16:24 +08:00
Jinzhu 9e762a9a30 Try to add logger 2013-11-11 09:10:16 +08:00
Jinzhu f82d036f14 Better support for sql.Scanner 2013-11-10 19:38:28 +08:00
Jinzhu 272ad45943 update README 2013-11-07 12:23:45 +08:00
Jinzhu c192b86d9e Update README 2013-11-07 12:12:25 +08:00
Jinzhu 9b27735464 Add AutoMigrate Support 2013-11-07 11:42:36 +08:00
Jinzhu 6d7d892af7 Update README 2013-11-06 22:20:26 +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
Jinzhu 2f5991d088 Update Document For Related() 2013-11-05 08:08:42 +08:00
Jinzhu 98869cb124 Add Method Related to find associations 2013-11-05 07:46:06 +08:00
Jinzhu 0b22775dd7 Add support for sqlite3 2013-11-04 20:52:06 +08:00
Jinzhu 7a23685e0b Test with mysql 2013-11-04 20:32:46 +08:00
Jinzhu e78c10690b Add Last Method, And update README for method First, Find 2013-11-04 17:58:56 +08:00
Jinzhu 0c4e43cd7a Don't quote table names 2013-11-03 21:19:38 +08:00
Jinzhu 63a9e5e3ae Update README 2013-11-03 11:38:53 +08:00
Jinzhu 92f790c463 Update README 2013-11-03 11:32:25 +08:00
Jinzhu 8e3b1fd206 Update README 2013-11-03 10:49:09 +08:00
Jinzhu bd54a03505 Document SubStruct 2013-11-03 10:31:36 +08:00
Jinzhu e2927e1ec5 README 2013-11-03 10:18:16 +08:00
Jinzhu a135087af4 Better README 2013-11-03 10:09:56 +08:00
Jinzhu b4981259de Update README 2013-11-02 22:58:15 +08:00
Jinzhu 49cfb0d4a0 Add DropTable 2013-11-01 15:01:39 +08:00
Jinzhu c387c7d9ba Polish The Not Method 2013-10-31 22:49:48 +08:00
Jinzhu 8a030c99eb Document Method Not 2013-10-31 18:12:18 +08:00
Jinzhu 549c7450ea Make it easy when only change one field with Attr, Assign 2013-10-31 12:59:04 +08:00
Jinzhu 0e692a13b1 Document Method Assign 2013-10-31 09:34:27 +08:00
Jinzhu 31b4baba6f Make Updates accept struct other than map[string]interface{} 2013-10-31 08:29:57 +08:00
Jinzhu 721090d39a Document Attrs in README 2013-10-30 15:40:18 +08:00
Jinzhu e250637d12 Document FirstOrInit, FirstOrCreate 2013-10-29 20:32:27 +08:00
Jinzhu 8a81711e41 Possible to search with interface map 2013-10-29 17:54:22 +08:00
Jinzhu c74af2210d Search with struct 2013-10-29 17:37:45 +08:00
Jinzhu a11c9f9b1b Query with primary key map 2013-10-29 15:37:58 +08:00
Jinzhu 44b64ff74f Document Soft Delete and Unscoped in README 2013-10-29 11:01:51 +08:00
Jinzhu bc785a9173 Cleanup code 2013-10-29 08:41:07 +08:00
Jinzhu 84b280c0ff Yay, Add Update, Updates Support 2013-10-28 21:52:22 +08:00
Jinzhu 2a20e551ed Possible to specify table name 2013-10-28 20:27:25 +08:00
Jinzhu 0906333291 Document error handling in README 2013-10-28 11:24:51 +08:00
Jinzhu c412729570 Update README 2013-10-28 10:10:02 +08:00
Jinzhu a81b9f3950 Update README 2013-10-28 09:18:34 +08:00
Jinzhu 7e68ad9773 Better README 2013-10-28 09:10:35 +08:00
Jinzhu 692b08a7be Update README 2013-10-28 08:08:45 +08:00
Jinzhu 66054f0957 Update README 2013-10-27 22:36:43 +08:00