I am using aws neptune because of all the advantages it brings for developing a very configurable solution etc. It has been going very well till now until I am required to pull reports based on month name.
I have an attribute createdOn (where I store the datetime of when the ticket was created) for a vertex Ticket, now i need to pull a report which tell me how many tickets were created group by the month.
In MySql it would be a easily done by using MONTHNAME() function and group by clause and get count of the ticket.
Although in gremlin group().by() is there I am not able to find any possibility of using group().by() on the month name only.
I have come across solutions which says that I should be storing month, year, date, hour, min etc as separate attributes to be able to get the desired result but I was wondering if there was a more cleaner approach like the one in MySQL.
Thanks in advance for your help.