Why is “month” a string column? If you want to search by date range, it
seems like a date column would be more useful.
Yes, if i want to search by date then date column would be more useful.
What i am trying to do is If i want to get data for particular month or
day or year then How can i do it? I added search feature for searching.
Yes, if i want to search by date then date column would be more useful.
What i am trying to do is If i want to get data for particular month or
day or year then How can i do it? I added search feature for searching.
You use date functions to find the dates of the first day of the month
and the last day of the month, for instance, and search that range of
dates.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.