Re: [chicagoboss] some questions

2016-09-26 Thread Kai Janson
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

[chicagoboss] some questions

2016-09-26 Thread TX
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