WordPress.org

Ready to get started?Download WordPress

Forums

Posts 2 Posts
[resolved] Two connections in one query (3 posts)

  1. Michael Dance
    Member
    Posted 1 year ago #

    Is it possible yet to search two different connection types in one query?

    I.e., find movies which are connected to a certain actor and also connected to a certain studio.

    I found this two-step solution --

    http://wordpress.org/support/topic/plugin-posts-2-posts-get-posts-which-are-connected-to-several-other-posts-connected-to-x-and-y

    --but am just checking to see if there's an alternative. I'm creating an advanced search form, so I'm trying to keep the db queries to a minimum.

    http://wordpress.org/extend/plugins/posts-to-posts/

  2. scribu
    Member
    Plugin Author

    Posted 1 year ago #

    This is not possible. Besides, several simpler queries are usually faster than a big, complex one.

  3. Michael Dance
    Member
    Posted 1 year ago #

    OK. Thanks for the response, and the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic