sanity-io / GROQ

Specification for GROQ - The Query Language for JSON
https://groq.dev
MIT License
398 stars 15 forks source link

converting string to int with a query. #69

Closed emilpriverrc closed 3 years ago

emilpriverrc commented 3 years ago

Hello,

Am I able to convert a string to a number when making a query? Ex i want the field "price" to be a number instead of a string when fetching data for a product.

judofyr commented 3 years ago

Today there's no functionality to convert strings to numbers unfortunately.