I have a list of strings (say s = ['1995','1996','1997']
). I need to find all rows in my database, where some column's first four characters match any item in that list (For example 1995-01-01
or 1996-05-04
).
Found __in
, but it finds exact matches.