Commit Graph

1392 Commits

Author SHA1 Message Date
Jinzhu d61af54b96 Add default model struct 2015-04-13 10:09:00 +08:00
Jinzhu 1eb1ed091f Test ManyToMany relations with multi primary keys 2015-04-10 16:55:53 +08:00
Jinzhu 67266ebdb3 Fix create join table with multi primary keys 2015-04-09 15:51:47 +08:00
Jinzhu e2eef50fb4 Add SetTableNameHandler 2015-04-08 14:56:03 +08:00
Jinzhu b9a39be9c5 Add Tabler 2015-04-08 11:36:01 +08:00
Jinzhu 2123f31d13 Merge pull request #442 from etcinit/docs
Add an example with time
2015-04-04 20:25:57 +08:00
Eduardo Trujillo 640700d391 Add an example with time 2015-04-03 23:08:35 -04:00
Jinzhu a952601f21 Fix query related resources with customized column name 2015-04-03 16:32:53 +08: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
Jinzhu c1969b5c1f Merge pull request #439 from gwTumm/patch-1
Fix type of OwnerType in polymorphism example
2015-03-30 14:23:27 +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
Jay Taylor 8389d92f78 Futher clarified error messaging for invalid `plucks'. 2015-03-23 15:11:41 -07:00
Jinzhu 7d16055a5d Don't use instance setting for order_by_primary_key 2015-03-23 11:07:39 +08:00
Jinzhu 1e28551d25 Fix additional SQL type 2015-03-20 17:21:17 +08:00
Jinzhu 4b98b145b1 Fix foreign db name in join table for multi primary keys relations 2015-03-20 11:49:16 +08:00
Jinzhu 94a5ebe5b4 Refactor JoinTableHandler 2015-03-20 11:22:14 +08:00
Jinzhu 9af0563496 Passed all tests 2015-03-19 18:30:35 +08:00
Jinzhu 44b106c8e2 Fix tests 2015-03-19 18:23:54 +08:00
Jinzhu 36efd0a561 Fix JoinTableHandler JoinWith 2015-03-19 16:42:13 +08:00
Jinzhu fa753969b1 Fix stack overflow 2015-03-19 16:31:11 +08:00
Jinzhu 6ba0c1661f Refactor JoinTableHandler 2015-03-18 18:26:58 +08:00
Jinzhu c13e2f18f8 New JoinTableHandler 2015-03-18 11:47:11 +08:00
Jinzhu 17b20bcdd8 Merge pull request #426 from willglynn/composite_unique_indexes
Fix creation of composite unique indexes
2015-03-18 08:43:40 +08:00
Will Glynn 87ff58b598 Fix creation of composite unique indexes 2015-03-17 09:04:12 -05:00
Jinzhu a0848909c2 Simplify dialect definitions 2015-03-17 10:40:42 +08:00
Jinzhu faae729b20 Merge pull request #422 from macropodhq/relay-scanner-errors
scanner.Scan() can fail, so the error should be forwarded
2015-03-16 11:40:56 +08:00
deoxxa e77fbed442 scanner.Scan() can fail, so the error should be forwarded 2015-03-16 11:22:31 +11:00
Jinzhu 2989e42d4d Support UpdateColumn with Select and Omit 2015-03-13 11:01:05 +08:00
Jinzhu 187eae8d9c Update with Select and Omit 2015-03-12 18:30:59 +08:00
Jinzhu 5d52826b3d Create with Omit 2015-03-12 18:01:27 +08:00
Jinzhu ad251b9deb Create with Select 2015-03-12 17:47:31 +08:00
Jinzhu da7830ea50 Add SelectAttrs, OmitAttrs 2015-03-12 15:50:38 +08:00
Jinzhu 94adc3e1d8 Export Unscoped Field for search 2015-03-12 15:01:59 +08:00
Jinzhu 6e5d46bf37 Refactor Search API 2015-03-12 14:47:07 +08:00
Jinzhu 9f2959959b Add error if query destination is not supported 2015-03-12 12:11:38 +08:00
Jinzhu 4c815fd2cc Add add limit 1 for Find automatically 2015-03-12 12:01:53 +08:00
Jinzhu df33db6ff9 Save cached model structs globally 2015-03-11 18:33:50 +08: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 49454839bd Support Multi primary keys 2015-03-11 11:28:30 +08:00
Jinzhu 7b9272a15e Update README 2015-03-11 11:15:23 +08:00
Jinzhu 5c38950d9b Merge pull request #409 from huacnlee/skip_add_index_if_exist
Dialect Index first, before AddIndex
2015-03-10 10:12:56 +08:00
Jason Lee 708d85763c Dialect Index first, before AddIndex 2015-03-09 21:33:25 +08:00
Jinzhu 6fed43162f Create Indexes with AutoMigrate 2015-03-09 17:22:16 +08:00
Jinzhu 42f934d60e Fix nil condition 2015-03-06 10:49:26 +08:00
Jinzhu 287ae22ca6 Add method New back 2015-03-04 13:56:47 +08:00
Jinzhu 80576bbbbc Add Table method for JoinTableHandler 2015-03-04 13:56:47 +08:00