Meekro DB query -


what equivalent query in meekro db working 1 have?:

$sql = "delete data date < date_sub(now(), interval 2 week)"; 

not working query:

db::delete('data', "date=%s", '(now() - interval 2 week)'); 


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -