On Thu, 22 Sep 2016 12:43:29 -0700
Darren Duncan <[email protected]> wrote:
> single-element row could be done with say a trailing comma; eg
> "(42,)"
All hail the Python tuple!
"Tuples of two or more items are formed by comma-separated
lists of expressions. A tuple of one item (a ?singleton?) can be formed
by affixing a comma to an expression (an expression by itself does not
create a tuple, since parentheses must be usable for grouping of
expressions). An empty tuple can be formed by an empty pair of
parentheses."
https://docs.python.org/3/reference/datamodel.html#the-standard-type-hierarchy
--jkl
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users