[rset] New method: ResultSet.one()
This method will return exactly one entity while enforcing its existence and unicity.
The idea is shamelessly borowed from SQLAlchemy Query.one().
Closes #3352314
[jcr: use len(self) instead of len(self.rows)]
$(document).ready(function() {
module("air");
test("test 1", function() {
equals(2, 4);
});
test("test 2", function() {
equals('', '45');
equals('1024', '32');
});
module("able");
test("test 3", function() {
same(1, 1);
});
});