testing the API


The tests that are referred to in scriptDB API for JavaScript are implemented in http://xliberation.com/t/gas/scriptdbapi.html. Code is below


These are the results you should see, once the copy has completed

Test scriptdb query access

after copy

Count on customers
100
Count on data
308
object query
[{"region":"Castilla y León","zip":"B9L 8T4","city":"Segovia","country":"United States","customerid":97,"email":"nascetur@orciUt.net","address":"P.O. Box 271, 4700 Tellus St.","objectId":"S333422122829","name":"Nash","company":"Nascetur Ridiculus Institute","coordinates":"53.60934, 6.94959"},{"region":"GO","zip":"D51 4LF","city":"Luziânia","country":"United States","customerid":85,"email":"sit.amet@congueturpis.com","address":"2195 Scelerisque Road","objectId":"S333422122822","name":"Hammond","company":"Consectetuer Rhoncus Nullam Industries","coordinates":"-49.77372, 82.53103"},{"region":"Principado de Asturias","zip":"11713","city":"Oviedo","country":"United States","customerid":37,"email":"quis@anteipsum.org","address":"Ap #770-5598 Faucibus Rd.","objectId":"S333421005208","name":"Lyons","company":"Sed Dolor Fusce Foundation","coordinates":"-36.59556, -133.78963"}]
match query
{"country":"United States","name":"Hammond","transaction":[{"customerid":85,"objectId":"S333421434339","value":2575,"quantity":5,"date":{"__type":"Date","iso":"2013-07-03T00:00:00.000Z"},"invoiceid":161}]}
{"country":"United States","name":"Nash","transaction":[{"customerid":97,"objectId":"S333422178785","value":4800,"quantity":10,"date":{"__type":"Date","iso":"2013-06-02T00:00:00.000Z"},"invoiceid":282},{"customerid":97,"objectId":"S333422758773","value":2800,"quantity":5,"date":{"__type":"Date","iso":"2013-06-30T00:00:00.000Z"},"invoiceid":391}]}

You can get me on Google plus, Twitter or this forum, and read more about his at scriptDB API for JavaScript
For help and more information join our forum,follow the blog or follow me on twitter .

Shop Amazon Gift Cards - Perfect Gifts Anytime

Comments