|
Python Connector for BigCommerce Data types - Python Connector for BigCommerce |
|
The following table describes the supported BigCommerce data types and their mapping to the Python data types. The type codes returned in the description cursor attribute can be used in the addtypecast() cursor method.
| BigCommerce data type | Type code | Python data type |
|---|---|---|
|
Boolean |
3004 |
bool |
|
Date |
3006 |
datetime.date |
|
DateTime |
3007 |
datetime.datetime |
|
Decimal |
3008 |
float |
|
Int |
3012 |
int |
|
String |
3017 |
str |
|
Text |
3017 |
str |
|
Enum |
3017 |
str |
|
Object |
3017 |
str |
|
CountryCode |
3017 |
str |
|
EmailAddress |
3017 |
str |
|
Variable |
3017 |
str |
|
Array |
3017 |
str |
|
Resource |
3017 |
str |