libsqlite: new functions