Fetch All field of table in server side processing

Fetch All field of table in server side processing

Aarti SharmaAarti Sharma Posts: 8Questions: 5Answers: 0

I want to fetch all columns data in datatables editors server side processing for that it need to mention field name but i am adding fields dynamically .it is possible to add dynamic fields in field list or select all fields of table .Please help me.

 Editor::inst( $db,$table,'ITEM' )
->fields(Field::inst( 'name' ))  //  want to fetch all fields here
->process( $_POST )
->json();

Please assist me if someone have any idea about that.Thanks in advance!!

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @Aarti Sharma ,

    Is this a duplicate of this thread here? It seems you posted the same question twice.

    Cheers,

    Colin

This discussion has been closed.