Taylor Otwell
|
13a1c5daac
|
Merge pull request #1170 from kapv89/patch-4
Added a method to fluently set belongs-to relation
|
2013-01-05 13:51:39 -08:00 |
JoostK
|
fd1b76a296
|
Added ability to call Eloquent::with on a Relationship instance
Signed-off-by: JoostK <joost.koehoorn@gmail.com>
|
2012-12-18 16:21:06 +01:00 |
Franz Liedke
|
2d052a3222
|
Get rid of duplicate function call.
|
2012-10-17 18:28:42 +03:00 |
Franz Liedke
|
a6c681db39
|
Make sure sync() always works with arrays.
|
2012-10-17 18:27:35 +03:00 |
Taylor Otwell
|
3416506194
|
increment version. refactor eloquent eager loading matching.
|
2012-10-07 14:04:29 -05:00 |
Vinícius Fragoso
|
f6c7cf2dcd
|
Fixing pivot on has_one aswell as properly indenting
|
2012-10-07 12:15:57 -03:00 |
Vinícius Fragoso
|
f36446bd10
|
Improving laravel relationship performance
|
2012-10-05 10:35:48 -03:00 |
kapil verma
|
2773e317ea
|
Removed a Useless if conditional from bind method
|
2012-09-04 02:54:21 +05:30 |
kapil verma
|
55ad4e9a6d
|
Added a method to fluently set belongs-to relation
This method spun off from a discussion in IRC. What this enables is this:
$user->comments()->insert($comment_data)->article()->bind($article->id)
|
2012-09-04 02:40:28 +05:30 |
Taylor Otwell
|
852b10e836
|
Merge pull request #1143 from franzliedke/patch-38
Fix insert() method for related models.
|
2012-09-01 18:02:41 -07:00 |
Taylor Otwell
|
46f68ab78c
|
Merge pull request #813 from anaxamaxan/patch-3
Allow Model instance or id for first argument in Has_Many_And_Belongs_To::attach()
|
2012-09-01 16:52:36 -07:00 |
Franz Liedke
|
e46f07d436
|
Fix method signature and return values of insert() method.
|
2012-08-27 13:46:32 +03:00 |
Franz Liedke
|
aa341357ec
|
Fix insert() method for related models.
|
2012-08-26 01:10:31 +03:00 |
Taylor Otwell
|
1203473469
|
revert eloquent back to 3.2.3
|
2012-08-17 09:18:16 -05:00 |
Sergii Grebeniuk
|
690e8572aa
|
phpdoc fixes
|
2012-08-03 18:17:48 +03:00 |
Chris Berthe
|
3b6191ec16
|
Merge remote-tracking branch 'upstream/develop' into develop
|
2012-07-01 12:33:03 -04:00 |
Taylor Otwell
|
14e9488cf9
|
Speed up eager loading of many to many.
|
2012-06-28 15:19:20 -05:00 |
Chris Berthe
|
17e75a9719
|
Merge remote-tracking branch 'upstream/develop' into develop
|
2012-06-18 12:38:59 -04:00 |
Koen Schmeets
|
aeeb010e0a
|
Fixing reference issue in relationship matching
|
2012-06-16 17:52:07 +02:00 |
anaxamaxan
|
19a3e9dc2b
|
Allow Model instance an id for first argument in Has_Many_And_Belongs_To::attach() and same for ::detach(). Also a typo fix for the docblock on attach().
|
2012-06-13 16:23:28 -07:00 |
Chris Berthe
|
fafaf724b0
|
Grammar/Vocabulary fixes
Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
|
2012-06-13 11:19:20 -04:00 |
Taylor Otwell
|
b5f5927fa7
|
Fix bug with many-to-many relationships on non-default database connection.
|
2012-05-02 09:37:40 -05:00 |
Taylor Otwell
|
86fce099b3
|
Fixed belongs_to primary key bug.
|
2012-04-26 11:25:47 -05:00 |
Taylor Otwell
|
9cee86ffb9
|
use array_values on relationship matches.
|
2012-04-24 22:38:30 -05:00 |
Taylor Otwell
|
1dea9852a9
|
fix eager loading of belongs_to relationships when all keys are null.
|
2012-04-24 10:37:40 -05:00 |
Taylor Otwell
|
94948cf675
|
Fix Eloquent eager loading matching.
|
2012-04-23 16:08:57 -05:00 |
Taylor Otwell
|
b7ac667405
|
tweak belongs to eager constraining.
|
2012-04-17 14:33:17 -05:00 |
Taylor Otwell
|
94b8582865
|
Add DateTime support to database binding layer.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-04-10 15:03:42 -05:00 |
Taylor Otwell
|
fda19731c5
|
Fixing update handling in Has_Many and Has_One relationships.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-04-10 11:26:03 -05:00 |
Taylor Otwell
|
1a5d4250d1
|
fix conflicts.
|
2012-04-10 10:10:31 -05:00 |
Maxime Dizerens
|
3850f575f0
|
Misspelt word corrected!
|
2012-04-07 00:03:33 +03:00 |
Taylor Otwell
|
d1adc8c181
|
Merge pull request #484 from kbanman/bugfix-pivot
Timestamps are optional in many-to-many pivot table
|
2012-04-04 08:36:01 -07:00 |
Taylor Otwell
|
6fdccd7496
|
Fixing bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-04-03 11:00:45 -05:00 |
Taylor Otwell
|
517da41a72
|
Tweaking has_many "save" method.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-04-03 10:56:55 -05:00 |
Taylor Otwell
|
d0a701e8f7
|
Tweaking has_many "save" method.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-04-03 10:55:04 -05:00 |
Taylor Otwell
|
df70987679
|
added sync method to has_many relationship.
|
2012-04-03 10:48:01 -05:00 |
Kelly Banman
|
587a80acbb
|
Timestamps are optional in many-to-many pivot table
Signed-off-by: Kelly Banman <kelly.banman@gmail.com>
|
2012-04-02 14:59:44 -07:00 |
Taylor Otwell
|
369ecd80f7
|
Merge branch 'staging' into develop
|
2012-03-30 08:45:16 -05:00 |
Taylor Otwell
|
636d05665c
|
fix merge conflicts.
|
2012-03-30 08:44:23 -05:00 |
Taylor Otwell
|
75f6384767
|
fix eloquent->delete bug.
|
2012-03-30 08:41:52 -05:00 |
Taylor Otwell
|
3e0d468470
|
Merge branch 'staging' into develop
|
2012-03-29 22:11:42 -05:00 |
Taylor Otwell
|
062ae8756c
|
fix conflicts.
|
2012-03-29 22:11:30 -05:00 |
Taylor Otwell
|
b5dd77d387
|
Fixing Eloquent constructor bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-03-29 22:04:04 -05:00 |
Taylor Otwell
|
579bc8719f
|
cleaning up code.
|
2012-03-29 17:13:13 -05:00 |
Taylor Otwell
|
cd71c1e517
|
added sync method to has many and belongs to entity relationship.
|
2012-03-29 16:20:38 -05:00 |
Taylor Otwell
|
37fd54b848
|
Merge pull request #448 from danielboendergaard/patch-1
Fixed problem with Eloquent2 pivot tables
|
2012-03-26 13:26:46 -07:00 |
Taylor Otwell
|
ba4d1a89c8
|
Removed add_ magic method from eloquent model as this will be a 3.2 feature.
|
2012-03-26 10:56:42 -05:00 |
Daniel Bondergaard
|
3639d2c46f
|
Fixed pivot model hydration loading in Eloquent2
Signed-off-by: Daniel Bondergaard <danielboendergard@gmail.com>
|
2012-03-26 14:17:49 +02:00 |
Taylor Otwell
|
57cf817de4
|
Fix pivot constraints on ->pivot() method of many-to-many.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
|
2012-03-22 21:47:35 -05:00 |
Taylor Otwell
|
e96f75e8cc
|
Fixing bugs in database layer.
|
2012-03-22 13:12:27 -05:00 |