query.deleteColumn()

removes a row from a query and return removed row as array

query.deleteColumn( column=String )

Returns: Array

Argument Description
column
String, required

Examples

q = queryNew( "id,name","int,varchar",[{"id":"1","name":"one"},{"id":"2","name":"two"}]);
dump(q);
writeDump(q.deletecolumn("id"));
writeDump(q);

See also