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
class FooConnection < DB::Connection
def build_prepared_statement(command) : DB::Statement
FooStatement.new(self, command)
def build_prepared_statement(query) : DB::Statement
FooStatement.new(self, query)
end
def build_unprepared_statement(command) : DB::Statement
def build_unprepared_statement(query) : DB::Statement
raise "not implemented"
end
end