Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
There are modules in drupal community (eg nodejs), that have hard coded static queries , which forces user to only use Mysql. Can someone guide me how to convert these queries and architecture so that other No Sql dbs like mondodb can be used easily?
Thanks.
Comments
Comment #1
MiSc CreditAttribution: MiSc commentedIf you check the work that has been done with EFQ Views you should have a good start.
Comment #2
denny84 CreditAttribution: denny84 commentedThanks a lot, I will look into it.
Comment #3
denny84 CreditAttribution: denny84 commentedI did glance over the efq_views. However, it seems like an overkill for me to convert something like
$uid = db_query("SELECT uid FROM {sessions} WHERE MD5(sid) = :auth_key", array(':auth_key' => $message['authToken']))->fetchField();
...like queries, into something that will be understood by mongodb.
More like abstraction.
Thanks
Comment #4
MiSc CreditAttribution: MiSc commented