Lines Matching refs:url_id
25 // url_id ID of the url currently used to represent this segment.
49 "url_id INTEGER NON NULL,"
63 GetDB().Execute("CREATE INDEX segments_url_id ON segments(url_id)");
96 "url_id INTEGER PRIMARY KEY,"
154 URLID url_id) {
156 "UPDATE segments SET url_id = ? WHERE id = ?"));
160 statement.BindInt64(0, url_id);
167 "SELECT url_id FROM segments WHERE id = ?"));
177 SegmentID VisitSegmentDatabase::CreateSegment(URLID url_id,
180 "INSERT INTO segments (name, url_id) VALUES (?,?)"));
185 statement.BindInt64(1, url_id);
302 "JOIN segments ON segments.url_id = urls.id "
345 bool VisitSegmentDatabase::DeleteSegmentForURL(URLID url_id) {
347 "SELECT id FROM segments WHERE url_id = ?"));
362 select.BindInt64(0, url_id);