2016-08-25 41 views
0

所以Codeigniter模型中有很多功能。所以我可以称它为PL SQL,因为它是可编程的,并且有很多功能。下面是一个模型的小片断语法。我们可以说我们在codeigniter模型中写的任何东西都是PL或者类似于SQL 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

它是一个'CI model'这将要求ORACLE服务器来执行SQL查询。你想问什么?这似乎很混乱和不清楚.. – Shaharyar

回答

0

你只能创建程序(PLSQL)server(Oracle/mysql)。并且可以与

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

欲了解更多信息可称为:Codeigniter DB function call

相关问题