robotpony/Presto — pull request #63 by bruce-alderson (2013-07-31 19:50:45+00:00)
Title: Added 'select-objects' DB helper.

Adds a simple object and type mapping select function for use in listings and simple object gets.

Example:

SELECT
SomeID AS `id:int`,
FirstName AS `name.first`,
LastName AS `name.last`,
AnotherColumn AS `other`
FROM SomeTable

Result:

[{
id: 1234,
name: {
'first': "Sideshow",
'last': "Bob"
},
other: "some value"
}, ...]

For review: @adam-patterson @ngallagher87