how to insert a blob field in sqlite

0

I want to insert in sqlite a blob field from console

I'm working on android

I try to use this (I give a simple example)

Person table (storage database) id - identification field name - text photo - blob

and I try to insert in this way

sqlite3 /dato/almacen.db "insert into person (name, photo) Values ('Ricardo', lo_import ('/ storage / emulated / 0 / Foto.png') )

I think what I mark in bold is my problem, you can give me a hand. Thanks Gustavo

    
asked by Gustavo Ro 30.09.2017 в 21:38
source

0 answers