-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Feature request:
New method that's basically db.scalar but for multiple lines and columns. Maybe something like db.query_all_with_name("select * from my_table") (or db.scalars?) and the output would be the same as db.scalar but with a name, like {"age" => PG::Int(3), "birth_date" => PG::Timestamp(2013), ... }
Might be nice for prototyping, unknown column names etc. Just an idea. Drawback being that it kind of defies type safety...
Metadata
Metadata
Assignees
Labels
No labels