Execute Query

PHOTO EMBED

Sat Mar 26 2022 12:27:33 GMT+0000 (UTC)

Saved by @mmzaghlool52 #markdown

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));
content_copyCOPY