Columns
The available columns for any given table are fetched from a system table called "sys_tablecolumns".
A specific table name is provided in the WHERE criteria to restrict the table from which the column information is fetched:
import cdata.sagex3cloud as mod
conn = mod.connect("URL=https://x3server/;OAuthAccessTokenUrl=https://auth-domain/oauth/token;OAuthClientId=your_client_id;OAuthClientSecret=your_client_secret;Audience=https://api-audience;XAPIKey=your_api_key;Folder=SEED;")
cur = conn.cursor()
cmd = "SELECT * FROM sys_tablecolumns WHERE TableName = 'Customer'"
cur.execute(cmd)
rs = cur.fetchall()
for row in rs:
print(row)