Search update

60548 results
1

votes
1

answer

AngularJS textarea doesn't update

I have this directive to be able to prevent characters of the textarea. restrict: 'E', scope:{ contacts : '=' }, template:'', link: function(scope, element, attr, ngModel){ scope.$watch('contacts', function(newValue, oldValue){ var cut = newValue; if(newValue.length>0) var cut = newValue[newValue.le...
marcel
1

votes
2

answer

hyperledger composer network update

Is anyone have an idea why composer network update is not listed to available commands for composer network? is it already deprecated? If yes, what is the substitute command for it? Thanks in advance. composer network Composer network command Commands: composer network download [options] Downloads...
Jeson
1

votes
6

answer

JQuery MySql update

im trying to adapt this little snippet: $('#checkbox_id').change(function(){ /* CODE HERE */ }); I have a series of checkboxes that are dynamically generated and their id's are always like 'hug3443' were 'hug' is the column in the DB and '3443' is the unique id for each row. My objective would be th...
Jay
1

votes
2

answer

Windows Service Database Update

I have a windows service that polls an Oracle database at a given interval and, based on some criteria, updates several fields. To do this it opens a cursor and iterates through the rows to update. protected override void OnStart(string[] args) { TimerCallback timerDelegate = new TimerCallbac...
Paul Michaels
1

votes
1

answer

grid view update

I had grid view which bind sql data source and added field to update data in grid view but it did not do any update and no error appeared and I did not know where the error SQL Stored Procedures: ALTER proc [dbo].[GetNewswithType] As Begin Select News.Id,News.Type_Id, News.Header,News.HText,News.D...
Myworld
1

votes
1

answer

CodeIgniter - Update Database Record

I've done the coding of Update Database record in Codeigniter. Everything works fine but When I click the Save button database records won't update. Each time it's showing the old database records. I want to update the database records but what's wrong with this. I don't understand the missing thing...
Mehreen
1

votes
1

answer

Bundle update is failing

I just ran bundle update and got the following error - I have no idea what this is. c:\San\ruby>bundle update Updating git://github.com/odorcicd/authlogic.git github.com[0: 207.97.227.239]: errno=No error fatal: unable to connect a socket (No error) An error has occurred in git when running git fetc...
sscirrus
1

votes
2

answer

DRF update a row

im trying to update a existing row in db in client side i send request with put method to server i used updatemodelmixin also id is comming to server in data by this view server response is maximum recursion depth exceeded what is correct way to update my data? class ProductOwnserSingleViewAPIView(...
ultra2mh
1

votes
1

answer

Update Couchdb document

I have a Couchdb document id and revision id and I would like to update the document. How can I achieve this using CouchRest? I have tried including '_rev' in 'put' as suggested somewhere but that doesn't work. This is what I've tried so far: CouchRest.put('connection/db/docid',{'_rev': 'id'},'Name'...
verdure
1

votes
1

answer

NHibernate atomic record update

What is the best way (if any) for atomic update record from a table without tranaction opening ? I mean something like UPDATE Table_1 SET [email protected] WHERE [email protected] Maybe it is possible by HQL or plane SQL from NHibernate... Does last NHibernate version support update via HQL ?! What abo...
Mark Carmark
1

votes
1

answer

elasticsearch update a set

Im trying to update a list fields only if the item is not already in the list. what's wrong with: curl -X POST 'http://localhost:9200/my_index/my_doc/id/_update' -d '{ 'script': '{if !(ctx._source.my_field contains new_item) {ctx._source.my_field.add(new_item)}}' , 'params':{'new_item':'hopefully_...
eran
1

votes
1

answer

Update table periodically

I have access to a mysql database, but I can only read from it. I need a copy of one of the tables in a local DB, and I need it to update every 2 hours. What is the best/most efficient way of copying/updating periodically a table? Should I make a plain php script that fetches and updates the data (...
Sebastian Breit
1

votes
1

answer

Parse.com update Role error

I'm getting {'code':101,'error':'object not found for update'} when calling save on my role after adding a user to it, all on Cloud Code. Sample code: var role_query = new Parse.Query('_Role') role_query.equalTo('name', 'USER') role_query.first().then(function(role) { role.getUsers().add(user) role....
Tomas Romero
1

votes
2

answer

Graphql Schema update rollback

We are moving some of our API's to graphql and would like to know to handle the rollback of the deployed package (Schema)and the best practice to the same. To be more specific let's say we have a Schema S with 3 fields and then we added 4th field 'A' . Now for some reason we cannot go forward with...
Sarfaraz Khan
1

votes
2

answer

Update child selects

I am new to React and I am trying to make a simple dynamic form with 3 selects. My problem is that the options of child selects should be filled based on option selected in parent select. Here is my code: var MySelect = React.createClass({ getInitialState: function() { return { value: 'select' } },...
Jack
1

votes
1

answer

Unable to update entities

I have recently upgraded to Hibernate 4.3.5. Now, every time I update an entity I get the following error: org.hibernate.OptimisticLockException: Newer version [3] of entity [[com.careem.backend.domain.model.Booking#23153]] found in database at org.hibernate.action.internal.EntityVerifyVersionProces...
TISid
1

votes
0

answer

AOSP - Custom System Update

I've been searching for about two days for a way to receive informations about System updates in Nougat 7.1.2. The reason I'm trying to do this is because I need to to make it more accessible for our type of users (but still be able to use the Google Over-The-Air system for my device). I already kno...
Maxime Limoges
1

votes
1

answer

Update varbinary(MAX) column

I am trying to update a varbinary(MAX) column, it actually stores saved data of a Word file that an user uploaded from a website. What happened was an user uploaded a wrong file so I need to update the column to reflect a correct file. What I did was that in a testing machine I uploaded the correct...
1

votes
1

answer

Update factory in spec

Here's my folder factory: FactoryGirl.define do factory :folder, class: Folder do name { Faker::Lorem.word } parent_id nil user_id nil end end and here's my context block: let(:user) { FactoryGirl.create(:user) } let(:asset) { FactoryGirl.create(:asset) } context 'when in folder' do before do...
Starkers
1

votes
2

answer

bluemix composer.json php update

I am trying to set up sendgrid within bluemix to be able to send emails i followed the docs where the explain how to do this. This is what they say : Installation Add SendGrid to your composer.json file. If you are not using Composer, you should be. It's an excellent way to manage dependencies in yo...
user3356007
1

votes
1

answer

SKLabelNode update at touch

I'm trying to find the cause of a weird behavior. My SpriteKit scene have a SKLabelNode as property. The SKLabelNode is initialized in a method called levelSelected : -(void)levelSelected{ SKSpriteNode* bar = [SKSpriteNode spriteNodeWithColor:[UIColor colorWithHue:0.566f saturation:0.787f brightness...
mtlchris
1

votes
1

answer

QGraphicsView doesn't always update

Hi I've got a GridLayout which has 64 GraphicsViews on it (I know it's alot but it's the only way i could think of doing this at this point in time). Now i'm currently just drawing a random line on each of these graphics views on a timer tick. This works but only for the 8 of the Graphics, Create G...
welsh4evr
1

votes
2

answer

Laravel Error Composer Update

[email protected]:/opt/lampp/htdocs/gitrepo$ composer update Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/framework v5.6.1 requires ext-mbstring * -> the req...
Ray Coder
1

votes
0

answer

Performing update without union

I have an optimization question for you. I made following SQL update statement: UPDATE table1 set c1 = case condition1/result1 condition2/result2 end, set c2 = case condition1/result3 condition2/result4 end where condition ... and everything works perfectly. The thing is I have 11 tables with exa...
Przemek
1

votes
1

answer

update function in R

I am trying to use update function on survey.design object. For instance, I want to create a variable that is the mean of 4 other variables, as follows x1
1

votes
1

answer

GUI Update Synch Issues

I am writing a program that displays to a console-like UITextView different events generated by my AudioSession and AudioQueues. For instance, when I detect that my audio route has changed, I just want a quickie message displayed on the screen on my iPhone that this happened. Unfortunately, I beli...
Sam
1

votes
2

answer

Grails automatic constraint update

Does grails have an automatic constraint update. If we change the field in domain class to be nullable by adding constraint, it is not getting reflected in database without schema export. Is it possible to do get grails do this update automatically.
Prakash
1

votes
1

answer

Mysqldump update table

I use the mysqldump utility to dump the database on the test server, which runs on the crown.   Mysqldump --host = 127.0.0.1 --skip-add-drop-table --skip-add-locks --no-create-info --user = root --password = 'root' stead> tead.sql  On production for import use:     Mysql --user = root --passw...
1

votes
1

answer

Update query in subform

I have a form where there is string input that is an input to a parameter in a query (insert sql injection joke here), and a subform that displays the query's results. Currently the parameter is essentially someVar Like '*' & forms!myForm!input & '*', but since the user can enter more than one strin...
Carl
1

votes
1

answer

couchDB update attachments

Can I update the attachments of an existing document without uploading them again? I tried: But that overwrites the existing attachments and stores the document with a new revision.
user1370497
1

votes
1

answer

core data simple update?

i'm beginner on core data and try to understand how to simply update an object wich is already stored myObject is a NsManagedObject setValue forKey needs .. a key but how could i update with something like setValue:mynewvalue forkey:myObject.key ok that 's not the way... have an idea with example p...
Thierry
1

votes
1

answer

Subversion svn:ignore on update

I'm working in Visual Studios 2010 and Ankhsvn. I need to exclude a few of my files from being Committed (which I did through ignore-on-commit in the Change log.) How do I exclude the files from being changed when I update? I've tried adding the svn:ignore property, but I keep getting errors throw...
James
1

votes
1

answer

NuGet Update Error?

Using the NuGet package manager dialog at the solution level in the normal course of updating a package reference once the process is complete there is a green tick on the item and the update button disappears. However, with certain of my packages the update process completes, as far as I can tell...
Myles McDonnell
1

votes
1

answer

Update gridview in viewpager

I have been searching for a while for a way to refresh a gridview within a viewpager and I am yet to find an answer. More specificaly my problem is that I have a view pager with three gridviews. Each gridview is populated by an arraylist and if the arraylist is changed the gridview stays the same. H...
Cam Connor
1

votes
2

answer

Update pivot column values

For the sake of argument although the relation is one2many (a tree has birds) lets examine imaginary many2many example to describe the problem. I have a pivot table representing birds perched on a tree and each bird has index representing the order of birds on a tree which means unique trio $table-...
Jocky Doe
0

votes
2

answer

SQL SELECT & UPDATE Syntax

I'm trying to do a SELECT and a UPDATE in SQL, using a single Statement. After some Google FU i can't seem to find any documentation on it. Or maybe i'm looking for the wrong thing. inquirer .prompt([{ name: 'updateID', type: 'input', message: 'What's the ID of the product you'd like to update?' },...
Todd Tate
1

votes
2

answer

VBA Update Existing Records

I was looking to setup VBA that would add new records to a table, if they did not currently exist (same ID #) and then update all of the columns for existing records (same ID #). I was able to setup the insert statement, but am coming up with errors for updating. The code below states that I have a...
Bruins1
1

votes
2

answer

Update DBSet without saveChanges

I try to reach the following: Add a new entity to the DbContext's dataset. Do no execute SaveChanges yet, as in case of any error after insert, the new entry should not go to database However I need to search later if the newly entry is in the Customer collection The following what I have now: publi...
Krekkon
1

votes
1

answer

Linq to objects Update

Im using Linq - objects and I need to do an update. I've been looked around for a while but not really found anything that matches. So for arguments sake I have 2 simple List's, both with a key so I can use join happily. I cant find a simple way to update results from obj2 into obj1. for simple upda...
DubMan
1

votes
1

answer

Access 2016 Update Query

Can anyone help me with an access update query please? It was working fine when the DB was an MDB file but since upgrading to ACCDB, the query won't run and gives: Operation must use updatable query However, it will run if opened in design view first and then opened from design view. Data is displa...
CrazyIvan