Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PegawaiModel.php
<?php
namespace App\Models;
use CodeIgniter\Database\ConnectionInterface;
use CodeIgniter\Model;
class PegawaiModel extends Model
{
protected $table = 'pegawai';
protected $allowedFields = ['nip', 'nama_pegawai', 'alamat'];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.