Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

all types returned in result are strings

10 views
Skip to first unread message

Majid Lotfi

unread,
Apr 9, 2018, 1:11:47 PM4/9/18
to
Hi, I am using postgres from ruby using pg gem, I did a select * from table, but all integer, smallint, timestamp types are returned as strings.

Robert Klemme

unread,
Apr 9, 2018, 5:17:57 PM4/9/18
to
Please show the code, maybe with the relevant part of the schema definition.

Kind regards

robert

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/
0 new messages