Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: RFC: Name and/or API for module ("Type::FromData") ( infer sql best guess cast type match sqltranslator )

by Anonymous Monk
on Apr 09, 2014 at 22:30 UTC ( #1081733=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        /^$RE{num}{int}$/ ? DBI::SQL_INTEGER : 
        /^$RE{num}{real}$/ ? DBI::SQL_DOUBLE : 
    
  2. or download this
    use DBI qw(:sql_types);
    
    # Mapping from string to sql constant
    our %type_mapping = (
      integer => SQL_INTEGER,
      int     => SQL_INTEGER,
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081733]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2016-06-30 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (395 votes). Check out past polls.