[go-nuts] Re: Is there any golang package available for building mongodb query from plain logic expression string or URL?

2017-06-05 Thread Ray Yang
Thanks for letting me know that "left-pad" thing. I didn't know it before you mentioned it here. Parsing a URL string and constructing a BSON object are easy if the criteria is like this: A.B="foo" AND C.D=true However, if the query is like this, I'm not sure if it still can be done correctly

[go-nuts] Re: Is there any golang package available for building mongodb query from plain logic expression string or URL?

2017-06-05 Thread Nathan Kerr
I haven't tried it, but https://github.com/jhsx/qm might be useful. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For

[go-nuts] Re: Is there any golang package available for building mongodb query from plain logic expression string or URL?

2017-06-06 Thread Ray Yang
Thanks Nathan. It has builder part but I need both parser and builder. It looks that I have to build the wheel or at least part of it. On Monday, June 5, 2017 at 11:16:36 PM UTC-7, Nathan Kerr wrote: > > I haven't tried it, but https://github.com/jhsx/qm might be useful. -- You received this me