You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You want that "updated rows" thing? The C function is PQcmdTuples but indeed I never added that to my interface.
Just pushed something to master. It is a bit awkward to use but it is like:
auto pg = new PostgreSql("dbname=test");
auto res = cast(PostgresResult) pg.query("UPDATE employees set name = 'aas' where id = 1749411001000");
assert(res !is null);
import std.stdio;
writeln(res.affectedRows);
I am making a request to update an entry in PostgreSQL. I would like to get the result to understand whether the request was executed or not.
How to pull the result of affected update rows from variable
result
?The text was updated successfully, but these errors were encountered: