Method ToNestedColumn
ToNestedColumn<T>(T, bool)
Obtains the Serialized fields and values in form of nested columns for BigQuery https://cloud.google.com/bigquery/docs/nested-repeated
Declaration
public static string[] ToNestedColumn<T>(this T current, bool compareAndSimplifyWithDefault = false) where T : new()
Parameters
Type | Name | Description |
---|---|---|
T | current | The current object to obtain the fields and values. |
bool | compareAndSimplifyWithDefault | If a comparison against the default value must be done. |
Returns
Type | Description |
---|---|
string[] | The nested columns in form of {key.nestedKey : value} |
Type Parameters
Name | Description |
---|---|
T | The given type |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |