JayData.org

Contents tagged with: JSLQ

JayData and toLiveArray()

Author: Robert Bonay January 7th, 2014

The standard toArray() function used callback and promise object to return the results, toLiveArray() returns an object that will be filled later. This array object can be used like a promise, it implements the then() and fail() functions. Using live arrays ...

Read more

, , ,


Geography and geometry with JayData

Author: Gábor Dolla April 30th, 2013

Geography is an important aspect, just think of the many online apps that use various map services such as Google Maps, OSM, Bing Maps, Nokia Here, etc. OData V3 also has support for Geography and Geometry data types. In JayData ...

Read more

, ,


Calling OData actions and service operations with JayData

Author: Robert Bonay April 30th, 2013

Most of the OData examples and applications operate with EntitySets, which is a very flexible way for data collaboration if we want the client applications to implement the business logic. OData service operations, entity-level and entityset-level actions provide us the ...

Read more

,


Simplified filter syntax for simple tasks

Author: Peter Aron Zentai April 18th, 2013

Querying is one of the most important aspects of a good data management library. JayData was always very strong at this with using natural JavaScript expressions as vehicles to transfer the developer intention into storage specific things. Good old JSLQ So to ...

Read more

,


How to set default values in JayData

Author: Robert Bonay February 21st, 2013

Do you want to reduce or simplify your code by adding default values to your objects? Since JayData 1.2.7 you can do it both with $data.define() and $data.Entity.extend(). Setting default values with $data.define() Setting default values with $data.Entity.extend() Avoiding default values In case you ...

Read more

, , ,


Querying 1:N relations

Author: Szabolcs Czinege May 31st, 2012

As of v1.0.4, JayData supports embedded queries on WebSQL/SQLite provider. This allows you to form more complex selections, still only using clean JSLQ syntax. As additional advantage, you can avoid the need to handle additional asynchrony in your code, as ...

Read more

, ,