Skip to content

Commit 90289c1

Browse files
authored
[ruby/agoo] Specify columns for Worlds select query (#10509)
1 parent 3739bf1 commit 90289c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/Ruby/agoo/app.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
password: 'benchmarkdbpass'
1515
})
1616
conn.set_error_verbosity(PG::PQERRORS_VERBOSE)
17-
conn.prepare('select_world', 'SELECT * FROM world WHERE id = $1')
17+
conn.prepare('select_world', 'SELECT id, randomNumber FROM world WHERE id = $1')
1818
conn.prepare('select_fortune', 'SELECT id, message FROM fortune')
1919
conn
2020
end

0 commit comments

Comments
 (0)