Commit Graph

311 Commits

Author SHA1 Message Date
Tobsn
31abcd599b unique typo 2012-06-22 08:54:10 -07:00
Tobsn
0b9b102dc7 NOT NULL order issue fixed!
thanks @crynobone !!!
2012-06-22 08:50:09 -07:00
Dayle Rees
8d13bf9c5a removing unsigned from mysql grammer due to bug
Signed-off-by: Dayle Rees <thepunkfan@gmail.com>
2012-06-22 16:25:50 +01:00
Taylor Otwell
7af0304fe8 Merge branch 'master' into develop 2012-06-21 11:38:50 -05:00
Taylor Otwell
1b062499dd Merge pull request #774 from franzliedke/patch-8
Avoid unnecessary end() in Table::command() function
2012-06-20 09:59:50 -07:00
Taylor Otwell
3fcb3aac6c Merge pull request #775 from franzliedke/patch-9
Foreign key creation ignores database prefix
2012-06-20 09:58:38 -07:00
Taylor Otwell
a203a12da4 Merge pull request #799 from Jelle-S/develop
Eloquent - simplify eager loading
2012-06-20 09:57:59 -07:00
SonicHedgehog
ec4556321d Fixed typo 2012-06-20 13:01:52 +03:00
Chris Berthe
17e75a9719 Merge remote-tracking branch 'upstream/develop' into develop 2012-06-18 12:38:59 -04:00
Tobias Orterer
e0d491cb15 Added UNSIGNED to mysql grammar inrementer()
Added UNSIGNED to the mysql grammar file because auto increment fields
only run upwards, it's a waste of space to provide negative values by
the default SIGNED state of INT.
2012-06-16 19:46:50 -07: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
Jelle Sebreghts
ac8bd0829e Fix for https://github.com/laravel/laravel/issues/789 2012-06-11 20:00:46 +02:00
Franz Liedke
7ead1796d0 Apply prefix to foreign key's "on" attribute, too. 2012-06-06 12:33:50 +03:00
Franz Liedke
605be704ff Avoid unnecessary end() in Table::column() function. 2012-06-06 12:23:00 +03:00
Franz Liedke
8fc80c47d9 Avoid unnecessary end() in Table::command() function. 2012-06-06 12:20:30 +03:00
Samuel Fitz
db351fedf0 added dblib option to sqlsrv connector class /sam fitz (abigwonderful)
simple conditional added to look for dsn type. if set and is dblib,
syntax for PDO connection adjusted slightly to allow for mac connection
to mssql server (utilizing freetds)
2012-06-05 13:31:21 -06:00
Taylor Otwell
ba6590d7b1 cleaning up code. 2012-06-03 17:44:53 -05:00
Taylor Otwell
f608157ffc Merge pull request #732 from franzliedke/patch-4
Add a last_query() function to Database connection class.
2012-06-03 15:43:44 -07:00
Taylor Otwell
d9c0dc0c35 Merge branch 'develop' of github.com:laravel/laravel into develop 2012-06-03 17:37:05 -05:00
Taylor Otwell
1ac911f05d Merge branch 'master' of github.com:laravel/laravel into develop 2012-06-03 17:36:16 -05:00
AndrewBNZ
c8466f5766 Fixed typo from previous fix, should be $command->columns not $command->$columns. 2012-06-03 23:51:38 +12:00
Jason Lewis
6d5239bf30 Missed a semi-colon.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-03 19:47:44 +09:30
Jason Lewis
b4db0f1b36 Small change moving array to a variable.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-03 19:45:49 +09:30
Jason Lewis
ab2fcb84ef Possible fix for issue #378.
Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
2012-06-03 19:23:35 +09:30
Taylor Otwell
691d68ba54 improve / fix postgres support. 2012-05-30 14:23:27 -05:00
Franz Liedke
98b9898003 Add a last_query() function to Database connection class. 2012-05-30 18:37:55 +03:00
AndrewBNZ
b4b9c1f442 Fixes Laravel issue #727 - updated sqlserver grammar file to fix error in primary key function. 2012-05-30 18:42:22 +12:00
Colin Viebrock
ef5ab30ca2 Fix ... thanks Vespakoen! 2012-05-26 20:51:35 -05:00
Loic Sharma
4ea27c9daf Fixed minor spelling mistakes 2012-05-17 23:03:42 -05:00
Taylor Otwell
135b6d5132 Merge pull request #664 from franzliedke/patch-3
Remove more unneeded Closure references
2012-05-11 12:18:15 -07:00
Andrew Ellis
8e12e7a819 where_nested no longer breaks on closures that don't actually set anything 2012-05-11 13:11:02 -06:00
Taylor Otwell
b097b6c682 Fix to_array() in eloquent model. 2012-05-11 13:22:04 -05:00
Franz Liedke
09cb38fc67 Fix PHPDoc referring to Closure class. 2012-05-11 12:23:25 +03:00
Andrew Ellis
100a59c9c4 added trim() for the sql statement 2012-05-03 11:16:32 -06:00
Taylor Otwell
295c3b80c2 add sqlite query driver. 2012-05-03 08:28:40 -05:00
Taylor Otwell
4822f847c2 pass delete method through eloquent query. 2012-05-03 08:20:33 -05: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
7e33ec5f34 Allow the registration of custom database drivers. 2012-04-30 22:40:18 -05:00
Taylor Otwell
9057c60a5f Merge pull request #584 from bencorlett/develop
Adding having() support to the Fluent query builder.
2012-04-26 18:26:19 -07:00
Taylor Otwell
86fce099b3 Fixed belongs_to primary key bug. 2012-04-26 11:25:47 -05:00
Taylor Otwell
ca06582369 Add some events to Eloquent models. 2012-04-26 09:30:34 -05:00
Taylor Otwell
9cee86ffb9 use array_values on relationship matches. 2012-04-24 22:38:30 -05:00
Ben Corlett
af6d76f713 Adding having() support to the Fluent query builder.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2012-04-25 11:18:50 +10: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
a92ab1ca30 Fixing bugs. 2012-04-20 11:35:47 -05:00
Taylor Otwell
b9d573467a Merge pull request #531 from markhuot/develop
Syncing Up Magic Methods
2012-04-18 18:50:19 -07:00
Taylor Otwell
b7ac667405 tweak belongs to eager constraining. 2012-04-17 14:33:17 -05:00