Skip to content

return symbolized keys when using results_as_hash = true #155

@audibleblink

Description

@audibleblink

Currently returning thousands of records with string instances as keys. Seems wasteful.

[12] pry(main)> DB.execute("select * from politicians")[0].keys.first.object_id # is String: "name"
=> 70139106472200
[13] pry(main)> DB.execute("select * from politicians")[1].keys.first.object_id # is String: "name"
=> 70139116927900

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions