bllim/laravel4-datatables-package — pull request #33 by Clooner (2013-08-14 21:16:19+00:00)
Title: Add ability to use AS statement in queries

This will add the ability to do an AS statement in your queries and not break the result
e.g.

$result = DB::table(str_plural($this->model))->where('account_id', '=', 333)->select('id', 'title', DB::raw("LEFT(contents, 40) AS contents"));
return Datatables::of($result)->make();