<commit_before><?php
    header('Content-Type: application/json');

    require_once("config/db_functions.php");
    $db = new DB_Functions();
    /** emulating a call like this: 
    * Get: Http://localhost/{your_project_name}/index.php/customeActionName
    * Example1: Query String: lastname=bakhsh&email=a@b.c
    * Example2: Query String: [["lastname","=","bakhsh3"],["email","=","a@b.c"]]
    * Example3: Query String: [["lastname","=","bakhsh3"],["age",">","30"]] 
    * Example4: Query String: [["lastname","=","bakhsh3"],["age","between","22","60"]] 
    */ 
    $result = $db->getRowsV3("user",
                             array("check"=>true, "columns"=>array("*")),
                             array("check"=>true, "where"=>array(
                                                                array("lastname"=>"bakhsh3") ,
                                                                array("email"=>"a@b.c")
                                                                )
                                  )
                            );
    if($db->getError()) {
        echo "error:".json_encode($db->getError());
    } else {
        $response["error"] = false;
        $response["data"] = $result;
        $response["rowCount"] = $db->getRowCount();
        $response["sql_statement"] = $db->getSqlStatement();
        echo json_encode($response);
    }
?><commit_msg>test2<commit_after><?php
    header('Content-Type: application/json');

    require_once("config/db_functions.php");
    $db = new DB_Functions();
    /** emulating a call like this: 
    * Get: Http://localhost/{your_project_name}/index.php/customeActionName
    * Example1: Query String: lastname=bakhsh&email=a@b.c
    * Example2: Query String: [["lastname","=","bakhsh3"],["email","=","a@b.c"]]
    * Example3: Query String: [["lastname","=","bakhsh3"],["age",">","30"]] 
    * Example4: Query String: [["lastname","=","bakhsh3"],["age","between","22","60"]] 
    *
    */ 
    $result = $db->getRowsV3("user",
                             array("check"=>true, "columns"=>array("*")),
                             array("check"=>true, "where"=>array(
                                                                array("lastname"=>"bakhsh3") ,
                                                                array("email"=>"<EMAIL>")
                                                                )
                                  )
                            );
    if($db->getError()) {
        echo "error:".json_encode($db->getError());
    } else {
        $response["error"] = false;
        $response["data"] = $result;
        $response["rowCount"] = $db->getRowCount();
        $response["sql_statement"] = $db->getSqlStatement();
        echo json_encode($response);
    }
?>
{'fraction_non_alphanumeric': 0.1910394265232975, 'fraction_numerical': 0.011111111111111112, 'mean_word_length': 1.6966183574879228, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1900913', 'n_tokens_mistral': 789, 'n_tokens_neox': 773, 'n_words': 104}