sijms / go-ora

Pure go oracle client
MIT License
771 stars 169 forks source link

Can db *sql.DB support BFILE type query? #464

Closed zhanghaiyang9999 closed 8 months ago

zhanghaiyang9999 commented 8 months ago

Now if the column type is BFILE, the db *sql.DB can't query the value. Must use go_ora.Connection. Can it support BFILE in future, just like the BLOB, or just return BFILENAME('BFILES', '1.bmp') is ok. thanks!

sijms commented 8 months ago

fixed in next release

sijms commented 8 months ago

fixed in v2.7.23 you can create BFile using func CreateBFile(db *sql.DB, dirName, fileName string) (*BFile, error) also I update the example