Skip to content

Commit

Permalink
Merge pull request #31 from pinver/fixparam
Browse files Browse the repository at this point in the history
fix missing parameter type
  • Loading branch information
pszturmaj committed May 14, 2014
2 parents f791a38 + d689859 commit 759d367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/ddb/postgres.d
Original file line number Diff line number Diff line change
Expand Up @@ -1711,14 +1711,14 @@ class PGConnection
}

/// ditto
DBRow!Specs executeRow(Specs...)(string query, throwIfMoreRows = true)
DBRow!Specs executeRow(Specs...)(string query, bool throwIfMoreRows = true)
{
scope cmd = new PGCommand(this, query);
return cmd.executeRow!Specs(throwIfMoreRows);
}

/// ditto
T executeScalar(T)(string query, throwIfMoreRows = true)
T executeScalar(T)(string query, bool throwIfMoreRows = true)
{
scope cmd = new PGCommand(this, query);
return cmd.executeScalar!T(throwIfMoreRows);
Expand Down

0 comments on commit 759d367

Please sign in to comment.