You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello
Why do i cannot add index on collection?
The error is Index could not be created to MongoDB Collection because no keys were specified
My code is $this->mongo_db->add_index('omid','time');
When i use $this->mongo_db->add_index('omid',array('time' => "ASC"));
again have error Message: Undefined variable: command
Thank you guys
The text was updated successfully, but these errors were encountered:
On Sun, Oct 27, 2019 at 3:48 PM Omid Aghakhani ***@***.***> wrote:
Hello
Why do i cannot add index on collection?
The error is Index could not be created to MongoDB Collection because no
keys were specified
My code is $this->mongo_db->add_index('omid','time');
When i use $this->mongo_db->add_index('omid',array('time' => "ASC"));
again have error Message: Undefined variable: command
Thank you guys
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54?email_source=notifications&email_token=AACE33OFJEJAOGVMKDHT4KDQQVTINA5CNFSM4JFRBHJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUS6LVA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE33KMCCIZHLVB24JNROTQQVTINANCNFSM4JFRBHJA>
.
Hello
Why do i cannot add index on collection?
The error is Index could not be created to MongoDB Collection because no keys were specified
My code is $this->mongo_db->add_index('omid','time');
When i use $this->mongo_db->add_index('omid',array('time' => "ASC"));
again have error Message: Undefined variable: command
Thank you guys
The text was updated successfully, but these errors were encountered: