get_colnames

getml.database.get_colnames(name, conn=None)[source]

Lists the colnames of a table held in the database.

Args:

name (str): The name of the table in the database.

conn (Connection, optional): The database connection to be used.

If you don’t explicitly pass a connection, the engine will use the default connection.