This is NOT for the faint-hearted ;-)

Welcome to the JavaScript Language Query (JSLQ) playground

Ever wondered how hard it is to query OData by using URI conventions?

String manipulation to create something like the following is not your style?

var serverurl = '',
        odata_endpoint = 'products',
        query = '?$filter=(ProductName%20eq%20%27Chai%27)' +
                '&$callback=parent.handleJSONP_1' +

  url: serverUrl + odata_endpoint + "/" + query,

In this playground you use JayData to make real-time queries against a remote OData data end point Figure out on your own if that makes your life easier.

Disclaimer: This web site is not a production site. It was created by RainerAtSpirit mainly for educational purposes and fun.
Feel free to use at your own risk.

Before you start

Open your favorite console

Hit the button

JayData will run a live query against so it might take a while before the results show up

Play around!

Copy/paste the code into the console and bend it to your will


This is included to initialize the northwind context instance, used in the examples below.

        <!-- JayData -->
        <script src="libs/datajs-1.1.1beta2.min.js"></script>
        <script src=""></script>
        <script src=""></script>
        <script src=""></script>
        <script src="examples/Northwind.js"></script>
        <script type="text/javascript">
        OData.defaultHttpClient.enableJsonpCallback = true;

        window.northwind = new JayDataExamples.NorthwindEntities( {
        name: 'oData',
        oDataServiceHost: '' }


Copyright © 2012 RainerAtSpirit