Merge: StatementRow::map
authorJean Privat <jean@pryen.org>
Wed, 7 Sep 2016 01:25:27 +0000 (21:25 -0400)
committerJean Privat <jean@pryen.org>
Wed, 7 Sep 2016 01:25:27 +0000 (21:25 -0400)
commit917abdfa8bf4fa225932865ad62b5a092c679011
tree7281224a14b665582705c986722125026ed54f49
parentd477e99a7cd65ef4932df2cf6355fa2be43da5f2
parentbf854b72923d5b29cdb8a054223dc73c1f3c47ff
Merge: StatementRow::map

I thought this was lacking from the API, so now when dealing with a StatementRow, one can get a map from column name to column value.

NOTE: This is not lazy since Sqlite re-uses the StatementRow for each row returned when a select statement is sent to the database.

Pull-Request: #2308
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>