Skip to content

Instantly share code, notes, and snippets.

@claar
claar / TestController.php
Last active May 30, 2017 20:06
Former field help block doesn't render inside blade @section
<?php
class MilkTrackersController extends App\Http\Controllers\Controller
{
public function getIndex()
{
return view('test1');
}
}
@claar
claar / gist:1001327
Created May 31, 2011 21:32 — forked from anonymous/gist:1001317
claar-postgres-plan
QUERY PLAN
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Limit (cost=2155935.40..2155935.52 rows=50 width=4) (actual time=8060.510..8060.547 rows=50 loops=1)
-> Sort (cost=2155935.40..2155935.80 rows=162 width=4) (actual time=8060.504..8060.523 rows=50 loops=1)
Sort Key: inv_asset_view.asset_id
Sort Method: top-N heapsort Memory: 18kB
-> Subquery Scan on inv_asset_view (cost=97.06..2155930.01 rows=162 width=4) (actual time=28.885..8057.971 rows=2703 loops=1)
-> Hash Left Join (cost=97.06..2155928.39 rows=162 width=2430) (actual time=28.884..8056.156 rows=2703 loops=1)
Hash Con