You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here custom_data is a json field. Getting this error:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'assigned_at, '%Y-%m-%d') as date, count(*) as aggregate ' at line 2
select
date_format(custom_data->assigned_at, '%Y-%m-%d') as date,
count(*) as aggregate
from `items` where `user_id` = 296 and json_unquote(json_extract(`custom_data`, '$."assigned_at"')) between 2024-08-01 00:00:00 and 2024-08-31 23:59:59 group by `date` order by `date` asc
The text was updated successfully, but these errors were encountered:
Hi, I am getting error when I am trying to use json column as dateColumn.
Here custom_data is a json field. Getting this error:
The text was updated successfully, but these errors were encountered: