Permalink
Browse files

Updating all sample queries to use the {table} syntax

  • Loading branch information...
1 parent e8d7427 commit 1d0aa7ccb3821eec1f7c8177315923556776a234 @CerealBoy CerealBoy committed Mar 31, 2011
View
2 powerhousemuseum/phm.collections.xml
@@ -4,7 +4,7 @@
<author>Murali K</author>
<description>Query on a collection within the PhM</description>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
- <sampleQuery>select * from phm.collection where api_key='...'</sampleQuery>
+ <sampleQuery>select * from {table} where api_key='...'</sampleQuery>
</meta>
<bindings>
View
2 powerhousemuseum/phm.collectionsitems.xml
@@ -4,7 +4,7 @@
<author>Murali K</author>
<description>Search through a list of collections</description>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
- <sampleQuery>select * from phm.collectionsitemis where item='item'</sampleQuery>
+ <sampleQuery>select * from {table} where item='item'</sampleQuery>
</meta>
<bindings>
View
2 powerhousemuseum/phm.item.xml
@@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for a specific item.</description>
- <sampleQuery>select * from phm.item where item='146646' and api_key='...'</sampleQuery>
+ <sampleQuery>select * from {table} where item='146646' and api_key='...'</sampleQuery>
</meta>
<bindings>
View
2 powerhousemuseum/phm.multimedia.xml
@@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for multimedia items.</description>
- <sampleQuery>select * from phm.multimedia where caption='bucket' and api_key='...'</sampleQuery>
+ <sampleQuery>select * from {table} where caption='bucket' and api_key='...'</sampleQuery>
</meta>
<bindings>
View
2 powerhousemuseum/phm.subject.xml
@@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for a specific item.</description>
- <sampleQuery>select * from phm.subject where subject='colour' and api_key='...'</sampleQuery>
+ <sampleQuery>select * from {table} where subject='colour' and api_key='...'</sampleQuery>
</meta>
<bindings>
View
2 powerhousemuseum/phm.theme.xml
@@ -4,7 +4,7 @@
<author>Allan Shone</author>
<documentationURL>http://api.powerhousemuseum.com/</documentationURL>
<description>Query the Powerhouse Museum for a specific theme.</description>
- <sampleQuery>select result.themes.theme.permanent_url, result.themes.theme.title, result.themes.theme.id from phm.theme where theme="war" and api_key="..." and result.themes.theme.num_items > 0</sampleQuery>
+ <sampleQuery>select result.themes.theme.permanent_url, result.themes.theme.title, result.themes.theme.id from {table} where theme="war" and api_key="..." and result.themes.theme.num_items > 0</sampleQuery>
</meta>
<bindings>

0 comments on commit 1d0aa7c

Please sign in to comment.