3 ms·
Yes, but with other database access APIs I can just get a connection and execute a statement on it. Other APIs don't have an additional abstraction between the
by skeletal88 7y ago
Yes, but with other database access APIs I can just get a connection and execute a statement on it. Other APIs don't have an additional abstraction between the connection and the execute() method.
It's especially useless when executing anything besides SELECT. An UPDATE or INSERT shouldn't need a cursor.