convertLargeNumbers converts big.Int values to strings for Typesense compatibility
(config CollectionConfig, data map[string]interface{})
| 321 | |
| 322 | // convertLargeNumbers converts big.Int values to strings for Typesense compatibility |
| 323 | func (t *TypesenseClient) convertLargeNumbers(config CollectionConfig, data map[string]interface{}) { |
| 324 | for _, field := range config.BigIntFields { |
| 325 | t.convertNumberField(data, field) |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | // convertNumberField converts a single numeric field to string format |
| 330 | func (t *TypesenseClient) convertNumberField(data map[string]interface{}, field string) { |
no test coverage detected