-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Match multiple developer ids, sometimes will work for both ios and an…
…droid
- Loading branch information
Showing
7 changed files
with
115 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
SELECT | ||
sa.*, | ||
d.name AS developer_name, | ||
pd.url AS developer_url, | ||
d.store AS developer_store | ||
SELECT * | ||
FROM | ||
app_urls_map AS aum | ||
LEFT JOIN pub_domains AS pd | ||
ON | ||
aum.pub_domain = pd.id | ||
LEFT JOIN store_apps AS sa | ||
ON | ||
aum.store_app = sa.id | ||
LEFT JOIN developers AS d | ||
ON | ||
sa.developer = d.id | ||
developer_store_apps | ||
WHERE | ||
d.developer_id = :developer_id; | ||
developer_id = :developer_id | ||
OR domain_id IN ( | ||
SELECT DISTINCT dd.domain_id | ||
FROM | ||
developer_store_apps AS dd | ||
WHERE | ||
dd.developer_id = :developer_id | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters