Taylor Otwell
7888309502
Merge pull request #1663 from neoascetic/anbu_fix
...
Fix bug in ANBU that cause wrong total time showing on SQL tab
2013-03-28 14:53:50 -07:00
Pavel Puchkin
9003957b28
One more fix about custom query grammar
2013-02-18 15:18:10 +11:00
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
Taylor Otwell
cc0908cddc
Merge branch 'master' into develop
2013-01-05 16:07:59 -06:00
Taylor Otwell
5fd1ea527f
Fix bug in connection with custom grammars.
2013-01-05 16:00:32 -06:00
Dejan Geci
de5658f5a7
Added return value from PDO::commit
...
Signed-off-by: Dejan Geci <dejan.geci@gmail.com>
2012-11-07 21:45:44 +01: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