Our MySQL database has a stars column with type int(1). (for users giving 1 to 5 stars)
I query my DB with this selected column in my builder:
Dev tool gives me this:
Is AVG calculation or avgRating alias naming turning my int(1) into a string? How to remedy that so i can use ceil() and round()?
Community Page
Last updated:
Last updated: