Welcome Guest, Not a member yet? Register   Sign In
Ability to specify index for query build from
#2

You can always do anything almost using a standard query with ci even create tables etc;

PHP Code:
$sql "CREATE INDEX index_name ON table_name (column_name)";
$sql "CREATE UNIQUE INDEX index_name ON table_name (column_name)";

$query $this->db->query($sql); 

Using this method you can do almost anything with the database.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Ability to specify index for query build from - by InsiteFX - 05-28-2016, 02:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB