Can I get all the values of delta field from "block" table from the database in my custom module
I have tried with this code as clive has explained it here but it shows me an error:
$query = db_select('module__block', 'b')
->condition('theme', $business)
->condition('status', 1)
->condition('region', -1, '<>');
$query->addExpression("CONCAT('_', delta)", 'delta');
$deltas = $query->execute()->fetchCol();
print_r($deltas);
module__block
: Is the name of the block table since I attached a prefix to it.