create table test ( x text, y text );
select * from test where x like 'hello%' or y like 'world%';
resolve_types failed with Failure("types do not match : Bool -> Bool -> Bool applied to (Text, Bool)") at:
`Func ((Text -> Text -> Bool,
[`Value (Text);
`Func ((Bool -> Bool -> Bool,
[`Value (Text);
`Func ((Text -> Text -> Bool,
[`Value (Text); `Value (Text)]))
]))
]))
Failed : select * from test where x like 'hello%' or y like 'world%'
Fatal error: exception Failure("types do not match : Bool -> Bool -> Bool applied to (Text, Bool)")
but this does work:
create table test ( x text, y text );
select * from test where (x like 'hello%') or y like 'world%';
the following does not work:
but this does work: