Lines Matching refs:rowid
548 /* CONTENT_INSERT */ "insert into %_content (rowid, content) values (?, ?)",
549 /* CONTENT_SELECT */ "select content from %_content where rowid = ?",
550 /* CONTENT_DELETE */ "delete from %_content where rowid = ?",
553 "select rowid, doclist from %_term where term = ? and first = ?",
558 /* TERM_UPDATE */ "update %_term set doclist = ? where rowid = ?",
559 /* TERM_DELETE */ "delete from %_term where rowid = ?",
663 /* insert into %_content (rowid, content) values ([rowid], [zContent]) */
664 static int content_insert(fulltext_vtab *v, sqlite3_value *rowid,
670 rc = sqlite3_bind_value(s, 1, rowid);
679 /* select content from %_content where rowid = [iRow]
704 /* delete from %_content where rowid = [iRow ] */
716 /* select rowid, doclist from %_term where term = [zTerm] and first = [iFirst]
721 sqlite_int64 *rowid,
736 *rowid = sqlite3_column_int64(s, 0);
801 /* update %_term set doclist = [doclist] where rowid = [rowid] */
802 static int term_update(fulltext_vtab *v, sqlite_int64 rowid,
812 rc = sqlite3_bind_int64(s, 2, rowid);
818 static int term_delete(fulltext_vtab *v, sqlite_int64 rowid){
823 rc = sqlite3_bind_int64(s, 1, rowid);
907 ** the rowid used as the docid.
1238 zStatement = "select rowid, content from %_content";
1249 zStatement = "select rowid, content from %_content where rowid = ?";
1330 /* Update the %_terms table to map the term [zTerm] to the given rowid. */
1464 assert( nArg==3 ); /* ppArg[1] = rowid, ppArg[2] = content */