Open H0llyW00dzZ opened 1 month ago
[!NOTE] Also For instance, with the
ExecContext
method, you can utilize the SQL clauseON DUPLICATE KEY UPDATE
to prevent duplicate entries.
example query
INSERT INTO user (email, password, date_added)
VALUES (?, ?, NOW())
ON DUPLICATE KEY UPDATE
email = VALUES(email),
password = VALUES(password);
Tell us about your feature request
As Currently there is no interacting method, I would like to request this also. It's safe from SQL injection, and if anyone agrees, I can submit a PR.
the method:
Example Usage:
Disclaimer