diff --git a/records.py b/records.py index 1fd6a93..2f83e54 100644 --- a/records.py +++ b/records.py @@ -357,7 +357,7 @@ class Connection(object): """ # Execute the given query. - cursor = self._conn.execute(text(query), **params) # TODO: PARAMS GO HERE + cursor = self._conn.execute(text(query).bindparams(**params)) # TODO: PARAMS GO HERE # Row-by-row Record generator. row_gen = (Record(cursor.keys(), row) for row in cursor)