You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: link.rs
    path of file: ./repos/holochain/crates/holochain_state/src/query
    
    the code of the file until where you have to start completion: use holo_hash::*;
use holochain_sqlite::rusqlite::named_params;
use holochain_types::dht_op::DhtOpType;
use holochain_types::sql::ToSqlStatement;
use holochain_zome_types::prelude::*;
use std::fmt::Debug;

use sup
    
    fn common_query_string() -> &'static str {
        "
            JOIN Action On DhtOp.action_hash = Action.hash
            WHERE DhtOp.type = :create
            AND
            Action.base_hash = :base_hash
            AND
            DhtOp.validation_status = :status
            AND DhtOp.when_integrated IS NOT NULL
        "
    }