log query
This commit is contained in:
parent
1733aa40df
commit
e4c44dcae1
@ -200,6 +200,7 @@ class Handler
|
||||
datos = [] of Tuple(Int32, String)
|
||||
DB.open("postgres://#{USER}:#{PASS}@10.61.0.1:5432/nombres") do |cursor|
|
||||
cursor.query sql do |result_set|
|
||||
puts "loop"
|
||||
result_set.each do
|
||||
valor = result_set.read(Int32)
|
||||
nombre = result_set.read(String)
|
||||
|
Loading…
Reference in New Issue
Block a user