I need to parse out where statements for sql in an app so that the fields can be properly mapped to existing database columns and the statement parameterized, etc. Can anyone suggest an existing node module to accomplish this? Basically, if given a string such as:
user.name = 'dsdsadadas' and (companyid = 1 or user.companyid = 2) and ( true = user.isactive) I want to break it out into its expression counterparts and know that user.name, companyid, user.isactive and user.companyid were all column identifiers. Thanks, Alex -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en