More work done on bug #7909.  It is almost ready.  I just have to create a mongo->sql where translator.