I think you should be using 'matches' rather than 'contains'
Give that a try.
--Kai
Sent from my non-google-device
> On Sep 26, 2016, at 22:22, TX <2316134...@qq.com> wrote:
>
> 1. Fuzzy search
> I saw in Chicagoboss's API that for db conditions
>
> {key, 'contains', Token}
> The "key" attribu
1. Fuzzy search
I saw in Chicagoboss's API that for db conditions
{key, 'contains', Token}
The "key" attribute contains Token.
I created some products, with item no. being P01, P0101, SP01, then I searched
by
Products = boss_db:find(product, [{itemno, 'contains',
string:to_upper