This question came to the JayData forum but I decided to share it here as this is an interesting topic and maybe others can benefit from it too.  by V3nom » Tue Oct 23, 2012 2:06 pm  I struggle to find information on websql transactions in JayData....
Ok, the title is a bit of a mouthful, but it states what I'm looking for. I have an oData endpoint, and I'm interested in seeing if there are any projects out there (preferably open source, maybe based on datajs?) that let me point to the end...
I'm trying to write a simple CRUD functionality in Jaydata, I had written this simple code for update operation:  SampleClass.prototype.Load = function(input1,callback) {   var param='it.Name=="'+input1+'"';   this.data.it...
I have this function:  function db_borrarServer(idABorrar){     serversDB.servidores         .filter(function(elementoEncontrado) {             return elementoEncontrado.id_local == this.idABorrar;          })         .forEach(function(elementoEncont...
I have a working OData endpoint where I can look at individual datapoints. (For example, localhost/myData/person(10) has the data of the 10th person.)  However my objects' values in my JayData javascript are not being populated. When I print:...
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: 'stri...
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?...
Scenario:  I've a JavaScript based application which uses web sql database to store its data  I've developed a custom entity set.  It has a filter method which accepts string that contains sql query.  for example: People.filter("Name = &#...
I want to create an entity, lets say 'connection', between two existing entities. So far I have this:  BusinessLayer.context.DefinitionSet.attach(existingDefinition1); BusinessLayer.context.DefinitionSet.attach(existingDefinition2);  DataEnti...
I'm having trouble deleting data from IndexedDb.   The methods works fine with WebSql but throws an error with IndexedDb.  Initial population seems to work ok.  This error is in Chrome:  Uncaught TypeError: Cannot read property 'ABORT_ERR'...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.