How to use the delete function from knex
Find comprehensive JavaScript knex.delete code examples handpicked from public code repositorys.
95 96 97 98 99 100 101 102 103 104
* This generally shouldn't be used in favour of `bot.database.leaveServer` * @param {ServerID} serverID The server's Snowflake ID * @returns {Promise<Array>} */ deleteServer: function deleteServer(serverID) { return knex.delete() .from(SERVERS_TABLE) .where({ server: serverID });
7
35
0
+ 41 other calls in file