db.executeQuery("INSERT IGNORE INTO `player_storage` SET `player_id` = '" .. getPlayerGUID(cid) .. "' `key` = '1234', 'value' = '-1' ;") -- this insert the storage if not exist
db.executeQuery("UPDATE `player_storage` SET 'value' = '1' WHERE `player_id` = '" .. getPlayerGUID(cid) .. "' AND `key` = '1234' ;")-- this sets the storage to value