我们可以说我们在codeigniter模型中编写的内容与PL SQL类似或类似

So there is a lot of funtions in Codeigniter model. So can i call it a PL SQL because it is programmable and has lot of functions in it. below is small snippet syntax of a model.

class Assign_books_model extends CI_Model {

public function findstudents1($post_data) {

//some group of db query's run here

}

public function findstudents2($post_data){

//some other group of db query's run here

}

}

You could only create the procedure(PLSQL) on the server(Oracle/mysql). And can be called with

$this->db->call_function('plsql');

For more info: Codeigniter DB function call