Imagine this, you have a class and enum like: class UserDto { public var username: String public var userStatus: UserStatusDto } enum UserStatusDto: String { case ok = […]
MySQL / PHP
Posted on:
How to use MySQL to search in php serialized fields
Well, first rule – you should not do this. But if there is good reason, consider using such query for searching in index-based arrays: SELECT * FROM table […]