Skip to content

Commit

Permalink
CLOB support in Oracle
Browse files Browse the repository at this point in the history
From Vadim Belman
Fixes #131
  • Loading branch information
jonathanstowe committed Sep 27, 2018
1 parent 3499cde commit fe3e78c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/DBDish/Oracle/Native.pm6
Expand Up @@ -86,14 +86,16 @@ constant SQLT_FLT is export = 4;
constant SQLT_STR is export = 5;
constant SQLT_DAT is export = 12;
constant SQLT_BIN is export = 23;
constant SQLT_CLOB is export = 112;
constant SQLT_TIMESTAMP_TZ is export = 188;

constant %sqltype-map is export = {
+(SQLT_CHR) => Str,
+(SQLT_NUM) => Rat,
+(SQLT_INT) => Int,
+(SQLT_FLT) => Num,
+(SQLT_BIN) => Buf,
+(SQLT_CHR) => Str,
+(SQLT_NUM) => Rat,
+(SQLT_INT) => Int,
+(SQLT_FLT) => Num,
+(SQLT_BIN) => Buf,
+(SQLT_CLOB) => Str,
+(SQLT_TIMESTAMP_TZ) => DateTime,
+(SQLT_DAT) => Date,
};
Expand Down

0 comments on commit fe3e78c

Please sign in to comment.