import database from '../core/database'; const query = 'DELETE FROM contactUs WHERE timestamp=:timestamp'; const params = {timestamp: 1632049210}; database .executeQuery(query, params) .then((res) => console.log('res', res)) .catch((err) => console.error('err', err));
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter