Je veux atteindre ORDER BY task_status = 'Open'
mais je n'arrive pas à obtenir le résultat.Codeigniter: Personnaliser demande de commande
Je l'ai fait
$this->db->from('session_tasks');
$this->db->order_by('task_status', 'OPEN', 'DESC');
$query = $this->db->get();
J'espère que quelqu'un peut aider.
Quelles sont les options disponibles dans 'task_status'? –
@RohanKumar il y a Fermer, Ouvert, Payé, En attente –