array_copy_model_ext


Description:

[ Version ( since = "5.2.0" ) ]
public DataModelArray? array_copy_model_ext (int[] cols) throws Error

Like array_copy_model, makes a copy of this, but copies only some columns.

Parameters:

this

a DataModel to copy data from

cols

array of this's columns to copy into the new array, not null

ncols

size of cols

Returns:

a new data model, or null if an error occurred