impr: add typecast param
This commit is contained in:
@@ -15,6 +15,12 @@ type Record struct {
|
||||
Fields map[string]interface{} `json:"fields"`
|
||||
CreatedTime string `json:"createdTime,omitempty"`
|
||||
Deleted bool `json:"deleted,omitempty"`
|
||||
|
||||
// The Airtable API will perform best-effort automatic data conversion
|
||||
// from string values if the typecast parameter is passed in.
|
||||
// Automatic conversion is disabled by default to ensure data integrity,
|
||||
// but it may be helpful for integrating with 3rd party data sources.
|
||||
Typecast bool `json:"typecast,omitempty"`
|
||||
}
|
||||
|
||||
// GetRecord get record from table
|
||||
|
||||
Reference in New Issue
Block a user