Use SQL::Maker::SQLType to pass around the typed parameters #133

Merged
merged 2 commits into from Jul 14, 2014

Conversation

Projects
None yet
3 participants
@kazuho
Contributor

kazuho commented Jul 11, 2014

As discussed in #132, strict mode of SQL::Maker disallows the use of arrayrefs as bind parameters, and thus Teng needs to use SQL::Maker::SQLType for passing the typed parameters around.

Note: Programming interface provided by SQL::Maker::SQLType is awkward (in the sense that a) designates scalarrefs to be used for passing in the value, b) does not provide a way to fetch the value-type pair in a style that is easy to be passed to $sth->bind_param). However after discussing with @tokuhirom, the conclusion is to not change the current API.

cho45 added a commit that referenced this pull request Jul 14, 2014

Merge pull request #133 from kazuho/kazuho/issues/132
Use SQL::Maker::SQLType to pass around the typed parameters

@cho45 cho45 merged commit eaa7580 into nekokak:master Jul 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment