ceylon-sdk
ceylon-sdk copied to clipboard
Sql.execute() does not provide a way to invoke resultSet, updateCount or moreResults on the statement
Returning the Boolean is a bit useless then
I suggest taking a Boolean retrieveResults parameter, in case the caller doesn't care about return values and thus there's no need to fetch them, and having a return type of Integer[]|Map<String, Object>[], based on the Boolean PreparedStatement.execute's return value.
I don't think that execute(), now Statement() is the thing that should offer this functionality.
-
Insert()does now have it, and - I guess
Call()needs it.