laravel-oci8: Error saving field of type CLOB
Boa tarde. Não estou conseguindo salvar um dado do tipo clob Estou fazendo desta forma
$dados = \DB::table('tabela')->where('id', $id)->updateLob(
array('name' =>'demo update blob'),
array('observacao' => 'blob content here')
);
Apresenta este erro:
SQLSTATE[HY093]: Invalid parameter number: Columns/Parameters are 1-based
System details
- Windows
- PHP Version 5.6
- Laravel Version 5.1
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (5 by maintainers)
@luiz-andrade I just tried saving 3575 chars on an article and it works for me. This might be on your oci8 driver / environment. I tested on the ff: