Fix positional parameter warnings (#173)

This commit is contained in:
Johannes Müller 2022-10-20 20:48:21 +02:00 committed by GitHub
parent 3e9ed7a304
commit 07c68d38e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,11 +52,11 @@ class FooDriver < DB::Driver
end end
class FooConnection < DB::Connection class FooConnection < DB::Connection
def build_prepared_statement(command) : DB::Statement def build_prepared_statement(query) : DB::Statement
FooStatement.new(self, command) FooStatement.new(self, query)
end end
def build_unprepared_statement(command) : DB::Statement def build_unprepared_statement(query) : DB::Statement
raise "not implemented" raise "not implemented"
end end
end end