Questions tagged [jaydata]

JayData is a standards-based, cross-platform Javascript library and a set of practices to access and manipulate data from various online and offline sources.

JayData is a standards-based, cross-platform Javascript library and a set of practices to access and manipulate data from various online and offline sources.

243 questions
3
votes
3 answers

in jaydata: pass variables to filter, only global works

I have this function: function db_borrarServer(idABorrar){ serversDB.servidores .filter(function(elementoEncontrado) { return elementoEncontrado.id_local == this.idABorrar; }) …
CRIMUVI
  • 121
  • 1
  • 10
3
votes
4 answers

How to customize the OData server using JayData?

I'm quite new to JayData, so this may sound like a stupid question. I've read the OData server tutorial here: http://jaydata.org/blog/install-your-own-odata-server-with-nodejs-and-mongodb - it is very impressive that one can set up an OData provider…
Venemo
  • 18,515
  • 13
  • 84
  • 125
3
votes
2 answers

JayData with WebAPI

Are there any examples on using JayData with WebAPI ? Its not OData, but just a set of endpoints: /api/Projects /api/users /api/something I am just looking for a simple solution to get my webapi data to the client and send it back when changed for…
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283
3
votes
3 answers

SQLite and JayData

Is it possible to use jaydata to read a sqlite database directly in a html 5 css js page? This whitout the use of a php or asp.net engine? EDIT: http://jaydata.org/
Lunatikzx
  • 264
  • 2
  • 14
3
votes
4 answers

IndexedDb - Check table exists and contains data

Using IndexedDB when my app first runs I populate it with some data, I want to ensure that when the database and tables are created that they do not already exists. Can I query the length of a table to see if it contains and data in JavaScript?
CLiown
  • 13,665
  • 48
  • 124
  • 205
2
votes
1 answer

JayData : how to migrate code from v1.3 to v1.5

I have some code which worked in JayData 1.3. I need to upgrade JayData to 1.5 due to the compatibility issues the 1.3 version has with polymer. The upgrade instructions say you can use the "jaydata-compatibility.js" script to "upgrade your…
kris
  • 11,868
  • 9
  • 88
  • 110
2
votes
1 answer

Jaydata - support for polymorphic collections in OData v4

Does JayData 1.5.1 support polymorphic collections that can contain elements with an inheritance hierarchy? I have an OData v4 service that contains a polymorphic collection. The service is implemented using asp.net WebApi 2.2 and OData 5.8. The…
Jeff
  • 422
  • 3
  • 7
2
votes
1 answer

OData service using NodeJS and JayData

I am trying to follow this example: http://jaydata.org/blog/install-your-own-odata-server-with-nodejs-and-mongodb but it seems to be out of date, so as written in the example's comment i have update some line of code as follow : data-model…
Skary
  • 1,322
  • 1
  • 13
  • 40
2
votes
3 answers

Ignore typescript definition error

I have a 3rd party typescript definition file (JayData): declare module MyEntities { export class Container extends $data.EntityContext { public onReady(): $data.IPromise; public onReady(handler: (context: Container) =>…
Roger Far
  • 2,178
  • 3
  • 36
  • 67
2
votes
1 answer

Jaydata with WebSql, how to manage version upgrades

I am currently using Jaydata on a PhoneGap application I am developing. Everything is working great so far. But I couldn't find a single update on how to manage upgrades to the database when I release a new version of the app. Is there a way to run…
HobojoeBr
  • 599
  • 9
  • 23
2
votes
0 answers

kendo Grid update and insert with jayData and angular

i tried to use kendo grid by crud Operation that cooperate with Jaydata and angularjs to create DataSource and implement crud Operation.but when i update or create a record after submit on server i have an error in kendo.js of…
2
votes
2 answers

How to create database context/connection with JayData

I am using JaydData with Backbone JS. On the start page of application I am using the JayData context as: $data.Entity.extend('$todo.Types.ToDoEntry', { Id: { type: 'int', key: true, computed: true }, Value: { type: 'string' }, …
Arvind Bhardwaj
  • 5,231
  • 5
  • 35
  • 49
2
votes
1 answer

OData Jaydata - odata update request returns error 404 (SAPUI5, node)

I'm building a web application with SAPUI5 which makes available a list of services, that are stored in a MongoDB and available as OData. I followed this guide jaydata-install-your-own-odata-server-with-nodejs-and-mongodb and these are my…
Marco
  • 700
  • 1
  • 14
  • 26
2
votes
1 answer

CRUD edit with JayData and AngularJs

I am trying to create a basic CRUD application using JayData, AngularJS and OData Web Api. I have got so far as creating a List view and an Edit view and when clicking on the Edit option for an item in the List view it successfully redirects to the…
user517406
  • 13,623
  • 29
  • 80
  • 120
2
votes
0 answers

JayData oData request with custom headers - ROUND 2

Few month back I was working on some Odata WCF project and I had some problems with parsing custom headers for token auth (apiKey). At that time, being quite a noob (still am!), I posted this SO question: JayData oData request with custom…
Jmorvan
  • 1,020
  • 11
  • 31
1
2
3
16 17