Closed nealoke closed 7 years ago
https://www.w3schools.com/sql/sql_like.asp
@nealoke Use like to run a query using wildcards.
$Medoo->select('table',['birthday'],[
'birthday[~]' => '%MM-DD'
]); // SELECT birthday FROM table WHERE birthday LIKE %MM-DD
Thanks! I'll have a look at it as soon as I can :)
I'm wondering if I could use the
[<>]
and[><]
with only a part of the date. I would like to filter a column namedbirthday
which contains the whole birthday date of a person. I need to retrieve only the people who have their birthday on a certain date (eg. filtering onmonth
andday
, not onyear
).Is this possible with the current version?