Skip to content

Commit

Permalink
add to the upgrading docs (refs #4617)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeelot committed Oct 21, 2012
1 parent e515c27 commit 5e11796
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guide/kohana/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,7 @@ would be located in
classes/Kohana/HTTP/Header.php

This also affects dynamically named classes such as drivers and ORMs. So for example, in the database config using `'mysql'` as the type instead of `'MySQL'` would throw a class not found error.

## Query Builder Identifier Escaping

The query builder will no longer detect columns like `COUNT("*")`. Instead, you will need to use `DB::expr()` any time you need an unescaped column. Ex: `DB::select(DB::expr('COUNT(*)'))->from('users')->execute()`.

0 comments on commit 5e11796

Please sign in to comment.