vapor/sql-kit

Incorrect initializer implementation for `SQLRaw`

benjaminmayo opened this issue · 0 comments

public init(_ sql: String, _ binds: [Encodable] = []) {
self.sql = sql
self.binds = []
}

This should be self.binds = binds, as right now the passed in parameter to the initializer is dropped entirely.