Skip to content

Commit

Permalink
update to db unprepared statements (#66)
Browse files Browse the repository at this point in the history
crystal-pg does not support prepared statements (?)
  • Loading branch information
bcardiff authored and will committed Dec 13, 2016
1 parent cafeffd commit 6d19fe3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pg/connection.cr
Expand Up @@ -11,7 +11,11 @@ module PG
@connection.connect
end

def build_statement(query)
def build_prepared_statement(query)
Statement.new(self, query)
end

def build_unprepared_statement(query)
Statement.new(self, query)
end

Expand Down

0 comments on commit 6d19fe3

Please sign in to comment.