Commit Graph

194 Commits

Author SHA1 Message Date
Jinzhu 6546ec3b5e Scan Rows into struct, fix #59 2016-02-14 23:29:06 +08:00
Jinzhu dc435d2225 Merge branch 'master' into v1.0_dev 2016-02-08 22:08:02 +08:00
Dane 08a740db98 Fix documentation for Count() function examples
Count function should pass pointer to struct rather than struct.
2016-02-04 09:23:04 +00:00
Eric Chen 7bb90371e9 Fix README typo on Related usage. 2016-01-26 03:14:05 -08:00
Jinzhu 84f34c0c62 Move logger images to doc 2016-01-17 21:01:18 +08:00
Jinzhu ee48d6986c Update README 2016-01-11 07:28:08 +08:00
Olivier Mengué 27df9104ed README: fix typo
Fix typo in has-one example.
2016-01-06 10:18:23 +01:00
Jinzhu 9a63fb28ba Update README 2015-12-26 20:46:25 +08:00
Jinzhu 9776eea2a2 Update README 2015-12-26 20:28:40 +08:00
Jinzhu e8fe7c5e34 Update README for Association Mode 2015-12-26 17:13:41 +08:00
Levin Alexander 2f85c0e4d6 clean up wording in README
made the paragraph about transactions in callbacks more straightforward
2015-12-18 11:50:11 +01:00
Jinzhu e7d209d71b Add Contributors link 2015-11-16 10:59:24 +08:00
Daniel Schalla 2a004ca186 Fixed Typo in Default values Section 2015-10-18 17:52:33 +02:00
Jinzhu 8e415788d5 Update Document 2015-08-30 07:28:05 +08:00
clinyong fc8f0e53c8 add toc to documentation 2015-08-26 18:15:58 +08:00
Jinzhu f6f66a60b2 Document ModifyColumn, DropColumn 2015-08-19 22:47:38 +08:00
Jinzhu 44ae41e9b5 Update TODO, refer https://github.com/qor/qor/tree/master/validations for validations 2015-08-19 22:31:52 +08:00
Mawueli Kofi Adzoe 8f901b4b55 Add documentation info 2015-08-18 01:03:00 +00:00
Jinzhu 0def184b0c Merge pull request #572 from eirmag/master
Table suffix to create tables with InnoDB engine
2015-08-02 07:28:42 +08:00
Gabriel eef40a06ff Rename the parameter to table_options and avoid introduction of new API function OpenWithTableSuffix 2015-08-01 22:46:38 +00:00
Jinzhu 85a682e820 Update README for AddForeignKey example 2015-08-01 11:28:31 +08:00
The Gitter Badger e6741c3f1e Added Gitter badge 2015-07-21 07:03:25 +00:00
Gabriel 8848fc476d Table suffix to create tables with InnoDB engine with mysql. Alter table is not affected yet, only create table and auto migration 2015-07-19 22:42:48 +00:00
Rohan Allison ded91a21fe Update README with clear explanation of transaction db handle 2015-06-16 23:28:54 -05:00
Rohan Allison 64f61aaaf9 Update README for revertable transactions 2015-06-15 14:37:58 -05:00
Yan-Fa Li 5b282263d8 Update README.md with Transaction example
- add a more detailed slightly more realistic example for a transaction.
2015-06-09 14:55:20 -07:00
Daniel Perez 2adfd70bb5 Add examples for join. 2015-05-13 14:20:20 +09:00
Nguyen Dang Minh a4a29d6025 Update README.md
The line:
// db := gorm.Open("postgres", dbSql)
should be
// db, _ := gorm.Open("postgres", dbSql)
2015-05-02 16:19:54 +07:00
nicholasf a9aef2dd90 Simpler (and correct) example for showing how to declare foreign keys.
Impact: Trivial.
2015-04-22 12:54:19 -07:00
Jinzhu 3c2915a9df Add Nested Preloading to README 2015-04-22 15:38:22 +08:00
Jinzhu d61af54b96 Add default model struct 2015-04-13 10:09:00 +08:00
Eduardo Trujillo 640700d391 Add an example with time 2015-04-03 23:08:35 -04:00
Jinzhu 03966a1e20 Merge pull request #436 from jaytaylor/master
FoundationDB dialect integration
2015-03-30 14:55:50 +08:00
Jinzhu 14620058ed Merge pull request #438 from jaytaylor/jay/update-columns-skip-associations
Skip saving associations during UpdateColumns(...)
2015-03-30 14:44:41 +08:00
Tim Kluge 3bd7cab8d6 Fix type of OwnerType in polymorphism example 2015-03-29 20:47:35 +02:00
Jay Taylor ab48cd222a `UpdateColumns(...)` no longer triggers save of associated records. 2015-03-28 14:15:12 -07:00
Jay Taylor dcc06e22f7 FoundationDB dialect layer and compatibility updates. 2015-03-24 10:35:19 -07:00
Jinzhu b0cf9a9e4b Add Composite Primary Key example 2015-03-11 17:40:54 +08:00
Jinzhu a549b6bd49 Refactor SQL Tag 2015-03-11 17:05:58 +08:00
Jinzhu 7b9272a15e Update README 2015-03-11 11:15:23 +08:00
Jinzhu 6fed43162f Create Indexes with AutoMigrate 2015-03-09 17:22:16 +08:00
Jinzhu 34997385b0 Add HasIndex method for dialect interface 2015-03-02 23:02:40 +08:00
Jinzhu 1521b794d8 Update README 2015-02-24 22:06:42 +08:00
Jinzhu d22cd2e9d7 Update README 2015-02-24 17:11:35 +08:00
Jinzhu 5c478b46e1 Use Common Initialisms from golint 2015-02-18 10:36:32 +08:00
Jinzhu 6dc33d6d94 Merge pull request #360 from sendyhalim/scope-add-foreignkey
Add Scope.addForeignKey()
2015-02-11 19:35:57 +08:00
Jinzhu 0ea51c1e1f Update README for Preload 2015-02-11 19:27:58 +08:00
Jinzhu f97e2c088e Make Preload works with has_one, has_many, belongs_to relations 2015-02-11 17:17:27 +08:00
Jinzhu 3b784c37c4 First try for the Preload feature 2015-02-11 09:47:10 +08:00
Sendy Halim d861d8737e Update README.md 2015-02-07 18:08:25 +07:00