log query

This commit is contained in:
Roberto Alsina 2024-05-15 20:27:47 -03:00
parent 3f1b41c316
commit 652f5838b6

View File

@ -195,6 +195,8 @@ class Handler
)
end
puts: "QUERY: #{sql}"
datos = [] of Tuple(Int32, String)
DB.open("postgres://#{USER}:#{PASS}@10.61.0.1:5432/nombres") do |cursor|
cursor.query sql do |result_set|