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

时间:2016-08-25 06:48:42

标签: php oracle codeigniter

所以Codeigniter模型中有很多功能。因此,我可以将其称为PL SQL,因为它是可编程的并且具有许多功能。下面是模型的小片段语法。

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

}

}

1 个答案:

答案 0 :(得分:0)

您只能在server(Oracle/mysql)上创建程序(PLSQL)。可以用

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

了解更多信息:this