method

attribute_names

attribute_names()
public

Returns an array of column names as strings if it’s not an abstract class and table exists. Otherwise it returns an empty array.