Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
Description
Some API functions allow a nil context, but this is inconsistently documented.
Others, like cursor.Close do not check for a nil context.
To assist users who don't want to explicitly specify context.Background() on all calls, all calls that take a context should check for a nil argument and replace it with context.Background().
All such functions should also have test coverage added for this case.