`to_key` return value

`to_key` was first introduced in

As far as I can tell, we have never actually needed to wrap the primary key in an array and don't have its use anywhere.

Thoughts on changing this behaviour and just returning single primary field instead?


The composite_primary_key user community probably have an opinion on this. They’d be stuck making workarounds to replace this:


—Matt Jones

They need to return a unique value, not necessarily an array. This shouldn’t affect them.