dibi::query('SELECT * FROM [customers] WHERE [customer_id] < %i', $i);
See profiler window in bottom right corner