<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Model_bidang extends CI_Model {
	public function GetUser($where=""){
		$this->db->select('tb_bidang.id_bidang,tb_bidang.nama_bidang,tb_bidang.id_kepalabidang,tb_kepalabidang.id_kepalabidang,tb_kepalabidang.nama_kepalabidang')
		->join('tb_kepalabidang','tb_kepalabidang.id_kepalabidang=tb_bidang.id_kepalabidang');
		return $this->db->get('tb_bidang')->result();
		$data = $this->db->query('select * from tb_bidang'.$where);
		return $data->result_array(); // //
		
	}
	public function insertdata($tabelName,$data){
		$res = $this->db->insert($tabelName,$data);
		return $res;<commit_msg>Update model_bidang.php<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Model_bidang extends CI_Model {
	public function GetUser($where=""){
		$this->db->select('tb_bidang.id_bidang,tb_bidang.nama_bidang,tb_bidang.id_kepalabidang,tb_kepalabidang.id_kepalabidang,tb_kepalabidang.nama_kepalabidang')
		->join('tb_kepalabidang','tb_kepalabidang.id_kepalabidang=tb_bidang.id_kepalabidang');
		return $this->db->get('tb_bidang')->result();
		$data = $this->db->query('select * from tb_bidang'.$where);
		return $data->result_array(); // /
		
	}
	public function insertdata($tabelName,$data){
		$res = $this->db->insert($tabelName,$data);
		return $res;
{'fraction_non_alphanumeric': 0.16654492330168005, 'fraction_numerical': 0.0, 'mean_word_length': 7.253012048192771, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3379944', 'n_tokens_mistral': 541, 'n_tokens_neox': 521, 'n_words': 64}