You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crud.pairs has use_tomap option allowing to return tuples as key-value maps instead of arrays, since there is no way to do unflatten_rows while calling pairs.
But this feature seems useful by itself. @WeCodingNow had reported that he uses crud.pairs():totable() instead of crud.select since it is impossible to write an oneliner that returns tuples as key-value maps with crud.select. There doesn't seem to be any harm in implementing use_tomap, so let's support it.
The text was updated successfully, but these errors were encountered:
crud.pairs
hasuse_tomap
option allowing to return tuples as key-value maps instead of arrays, since there is no way to dounflatten_rows
while calling pairs.But this feature seems useful by itself. @WeCodingNow had reported that he uses
crud.pairs():totable()
instead ofcrud.select
since it is impossible to write an oneliner that returns tuples as key-value maps withcrud.select
. There doesn't seem to be any harm in implementinguse_tomap
, so let's support it.The text was updated successfully, but these errors were encountered: