Commit Graph

62 Commits

Author SHA1 Message Date
Pavel Puchkin
a2cafaa367 Fix bug in ANBU that cause wrong total time showing on Queries tab
When query time is larger than one second 'array_sum' cannot convert it
to float right. Also, it is better to fire 'laravel.query' event with
raw time as an argument rather than its string representation
2013-02-01 11:10:02 +11:00
Patrick Romowicz
966e8462c9 Update laravel/database/connection.php 2012-09-17 21:49:17 +03:00
Patrick Romowicz
5f9a26bae3 Undefined namespace Grammars 2012-09-17 21:42:47 +03:00
Tobsn
89d8c5bb0d Returning results with SHOW queries
reference to #991
2012-07-31 10:04:53 +02:00
Chris Berthe
f3d756476b Merge remote-tracking branch 'upstream/develop' into develop 2012-06-25 13:11:54 -04:00
SonicHedgehog
ec4556321d Fixed typo 2012-06-20 13:01:52 +03: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
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
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
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
7e33ec5f34 Allow the registration of custom database drivers. 2012-04-30 22:40:18 -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
0455438ebe Added transaction method to database connection and eloquent model. 2012-03-18 22:39:04 -05:00
Taylor Otwell
621fee09be cleaning up code.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
2012-02-27 09:28:21 -06:00
Taylor Otwell
484a737382 make the pdo fetch style configurable. 2012-02-24 11:35:02 -06:00
Taylor Otwell
9804bb55dc comment cleanup. 2012-02-24 11:17:56 -06:00
Taylor Otwell
faa2eec3b9 consolidate database methods into db::query. 2012-02-17 08:47:06 -06:00
Taylor Otwell
e828b6c0c3 all database exceptions now include SQL and bindings in message for easier debugging. 2012-02-16 22:32:09 -06:00
Taylor Otwell
dd6402c648 prefix built-in events with laravel. 2012-02-16 16:26:39 -06:00
Taylor Otwell
317e8db81f change query event name. 2012-02-16 09:08:00 -06:00
Taylor Otwell
36834c1118 add database.profile config option. 2012-02-16 08:46:48 -06:00
Taylor Otwell
ab17ea674a fix bug in db profiling. 2012-02-15 13:29:37 -06:00
Taylor Otwell
b0a223aa4b cleaning up comment. 2012-02-12 21:27:07 -06:00
Taylor Otwell
0f2d311739 cleaning up some code. 2012-02-12 16:34:11 -06:00
Taylor Otwell
8240b2ffd1 move shortcut method into grammar. 2012-02-06 22:09:15 -06:00
Taylor Otwell
087f50a52c cast bindings to array. 2012-02-06 21:39:30 -06:00
Taylor Otwell
3c016285a1 make log function non-static. 2012-02-01 08:27:46 -06:00
Taylor Otwell
982e009a96 added query event for hooking into database for logging. 2012-02-01 08:25:54 -06:00
Taylor Otwell
1ec6fc766c added support for database table prefixes. 2012-01-29 13:07:15 -06:00
Taylor Otwell
ae56f68c87 use query grammar to parameterize where in sql shortcut. 2012-01-25 15:34:19 -06:00
Taylor Otwell
b5442c67fc merged skunkworks into develop. 2012-01-16 13:59:24 -06:00
Taylor Otwell
ddd6d44782 fix bug affecting using db::raw with eloquent. 2011-12-10 21:54:07 -06:00
Han Lin Yap
287433193d phpdoc correction 2011-12-04 15:00:14 +01:00
Taylor Otwell
937441d31b cleaning up more code. 2011-11-21 22:22:41 -06:00
Taylor Otwell
e55f9e9fad Added a helpful comment regarding expressions. 2011-11-18 14:50:11 -06:00
Taylor Otwell
9caf239f6b various refactorings. 2011-11-02 21:27:43 -05:00
Taylor Otwell
32989d39c8 some small refactorings and cleanup. 2011-10-22 23:25:07 -05:00
Taylor Otwell
b71ecb4363 removed packages directory. refactoring. 2011-10-21 21:49:33 -05:00
Taylor Otwell
af36cb3d5a various refactoring and tweaks. 2011-10-20 21:44:18 -05:00
Taylor Otwell
9fc9f88a41 refactoring various pieces of the framework. 2011-10-18 20:19:36 -05:00
Taylor Otwell
68455378cc added support for database expressions. 2011-10-12 19:55:44 -05:00
Taylor Otwell
7317b5857b refactored welcome pages. 2011-10-11 21:27:16 -05:00
Taylor Otwell
14186a00e0 refactoring and bug fixes. 2011-09-29 21:22:48 -05:00
Taylor Otwell
c6f9734603 refactoring. 2011-09-27 21:10:32 -05:00
Taylor Otwell
7898094e25 clean up a few more things. 2011-09-17 23:55:36 -05:00
Taylor Otwell
cb5a426cba added database connectors and cleaned up configuration. 2011-09-17 23:46:24 -05:00