Search update

60548 results
4

votes
4

answer

Update app engine entity

How to update existing record in app engine.
GoldenBird
3

votes
1

answer

Could not update rails

When I do bundle update rails, I get this error: Bundler could not find compatible versions for gem 'activesupport': In Gemfile: rails (= 3.2.11) x86-mingw32 depends on activesupport (= 3.2.11) x86-mingw32 activesupport (3.1.0) here is my gemFile, any help is apprecaited :) source 'http://rubygems.o...
simo
5

votes
2

answer

Bulk Update in RethinkDB

I'm trying to update multiple documents in RethinkDB, based on some precalculated values in a Hash. i.e. Given a table stats with primary key slug with data like [{slug: 'foo', stats: {}}, {slug:'bar', stats:{}}] and given a Hash with values like updated_stats = { 'foo' => {a: 1, b: 2}, 'bar' =>...
svs
3

votes
1

answer

Mysql auto update event

using php and MySql, is there anyway to get the date in the database to update by its self when a date has expired. i.e. event name x is on date 2012-05-12, on 2012-05-13 the date should change to 2012-05-19 (a week from 2012-05-12) thanks guys
Saeid Ghaferi
1

votes
8

answer

Update difficulty in .NET

Update can't work. sqlstr ='UPDATE emp SET bDate=''+Convert.ToDateTime(txtbDate.Text)+'''; can't update emp table. I tried also using Parse method. It throws error message : The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. The statement has bee...
Dejene
4

votes
3

answer

Mongoose multi update

I want to update multiple docs with different values. My Database looks something like this. [ { '_id': 1, 'value': 50 }, { '_id': 2, 'value': 100 } ] This Query return an error because i'm passing an array instead of an object in the $set. Model.update({_id: {$in: ids}}, {$set: ids.value}, {multi:...
user3862830
2

votes
1

answer

Entity framework update entity?

Controller [HttpPost] public ActionResult EditUserProfile(UserProfiles _postedUserProfile) { UserProfiles orjinalUserProfile = entity.UserProfiles.Where(x => x.UserId == _postedUserProfile.UserId).Single(); orjinalUserProfile.AboutMe = _postedUserProfile.AboutMe; orjinalUserProfile.Birthday = _poste...
1

votes
2

answer

INSERT … ON DUPLICATE UPDATE

what I am trying todo is make a highscores page and each time it updates I want it to go into the same entry, so if Username is a duplicate I want it to update with the current information and then the information posted, after looking at some stuff on the internet I tried the code below and that gi...
Daniel
2

votes
1

answer

How to update MvvmCross?

I am using Visual Studio for Mac. I have MvvmCross v5.1.1 installed in my project. I want to update it (and all its dependencies and plugins) to v.5.3.1. But I get this error message in the output when I try to update my packages: Unable to resolve dependencies. 'MvvmCross.Binding 5.3.1' is not comp...
Darius
2

votes
3

answer

IOS - Location Update Interval

I'm starting on IOS developing, and I'm very unfamiliar with the language. I'm trying to develop an app that will track the location of a device on the background. I've followed some tutorials and put up a code that Logs the location update. -(void)CurrentLocationIdentifier { locationManager = [CLLo...
LcSalazar
2

votes
1

answer

Update progress position?

My update progress displays under the update panel. Is there a way to display it near the control which caused the async postback? I have a very long form so users might not scroll all the way down and see the progress at all. Edit I am using a table for my layout inside the update panel. The update...
Zo Has
2

votes
2

answer

update database java

I'm working on database containing 2 columns (NOM (String) ,TMP(integer)). But when I tried to update it , the first row became the last. Can I update it and maintain the same order? Statement state = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet result...
ghassen92
18

votes
4

answer

MySQL Update Column +1?

I was wondering what would be the easiest way to update a column by +1? I will be updating a post count of a category based on when users submits a new post. Thanks.
Cory
5

votes
5

answer

jqTransform Update Select Options

I'm dynamically altering a select list's options. I am using the jqTransform plugin. It won't update itself automatically, which I didn't expect it would, but I can find a method for updating the display. I can't even find a method for removing it completely. What I'd like is to find a method such a...
Brad Wilkie
3

votes
2

answer

Webkit Update in JAVAFX

Is it possible to update the webkit in the javafx *netbeans*?
Folie
1

votes
2

answer

What is `rubygems-update`?

What does the gem rubygems-update do? The manual says it is an update to the gem, but it is not clear what that means. I already had gem (version 1.8.25) installed on my computer, but I was able to install rubygems-update version 1.8.25 (the same version number as gem) on top of that, resulting in g...
sawa
4

votes
2

answer

Matrix Library Update

I'm doing a neural network project (much of linear algebra calculations as you know) so I've already used Jblas which is a great library but after I installed Ubuntu latest Version 11.04 I'm having some trouble using it, (error couldn't copy temp bla bla) which I would solve if I did some work. But...
2

votes
0

answer

React Redux update state

I am trying to do a simple thing : I have a reducer with 3 inputs and I want to change the value of the input clicked that is to say change the value of an attribute in the store. How do I do it ? I am using React and Redux. Here my reducer-inputs.js : export default function (){ return[ { 'name':'...
E.B
1

votes
2

answer

SQL Query Update Error

update invd.InvoiceDetail set invd.costprice=883.75 from InvoiceDetail invd where saleDespatchDetailID = 5 I'm getting an error in this query: Msg 208, Level 16, State 1, Line 1 Invalid object name 'invd.InvoiceDetail'.
Gayashan
4

votes
2

answer

Composer update root package

I want to make the system updates based on composer With updating dependencies no special problems, but how to update the root package, it is not clear I'm trying to understand the code composer and so far without success I think a root project put into dependencies and leave only the bare minimum o...
ghost404
2

votes
2

answer

Update syntax for Access

I need to update a field (which is currently empty) based on a match with another table. This should be simple, but my syntax is wrong. In SQLServer 2005, the syntax would be UPDATE Facilities-NOID SET Facilities-NOID.ID = Facilities-ID.ID FROM Facilities-NOID, Facilities-ID WHERE [Facilities-ID]....
thursdaysgeek
12

votes
1

answer

gorp Update not updating

Im having issues updating a row in my postgresql database with gorp, im successfully able run the update using db.Exec, all columns get updated with the right information, while with gorp im only able to update the non sql.Null* fields while the rest remain unchanged. var db *sql.DB var dbmap *gorp....
norwat
55

votes
4

answer

Nuget consolidate vs update

In NuGet for Visual Studio 2015, what is the difference between consolidate and update actions? In both cases I select a specific version that I want to use in selected projects.
yatskovsky
3

votes
1

answer

Complication won't update

I have a very simple complication with a random number. But my number won't update. Everytime I look on my watch it's the same. Only if I reinstall the complication (reinstalling apple watch app) I'm getting a new number. I have set update to 1 second. Anyone an idea what could be wrong? func getCur...
Wed
2

votes
2

answer

Auto-update submodule

I'd like to automatically update a git submodule as part of our build system whenever it is out of sync, i.e. if the checked-out version is not the same as the version recorded in the tree. Currently I do git submodule status ‹path› and check whether the first character of the resulting output i...
MvG
6

votes
6

answer

Automatically update Windows fully

I'm working on a project where the goal is to be able to update a windows computer 100%. That means a program or a script that updates windows automatically with no user interaction at all. Ideally a standalone script that can be run from another script. The reason: I need to update a lot of compute...
aeinstein
2

votes
1

answer

Entity framework update change

I have an entity model with a self relation (parent/child). My entity named Article has a property called parent. This parent is in fact the relation, and ParentID which is the field in the relation. In ef 4 i did this: using (var dbContext= new DataBaseModel()) { ArticleTable newEntity= new Arti...
Furnes
4

votes
3

answer

Mongoose bulk update operation

Is there a way to do bulk updates on a collection in mongoose? The strategy I had found used the raw collection driver as follows: var bulk = Person.collection.initializeOrderedBulkOp(); bulk.find(query).update(update); ... bulk.execute(callback) However, bulk is undefined when I do this. Is it just...
jtmarmon
4

votes
2

answer

error with yum update

I'm trying to do yum update on my centos 7 server but i'm getting the following error: Error: Multilib version problems found. This often means that the root cause is something else and multilib version checking is just pointing out that there is a problem. Eg.: 1. You have an upgrade for grub2-to...
Justin Mosterd
2

votes
1

answer

Validation malfunction on Update

I am using laravel 4.2 and I have the following issue: My validation works properly at the Store function but when i am using the same code to validate the data at Update function the validator works but doesn't redirect correctly or showing the validation errors. to be more specific; at the update...
Karakuri
2

votes
1

answer

Update node's pod capacity

I am trying to figure out how to update a node's pod capacity. I have a simple cluster setup using the Vagrant/VM environment outlined in the documentation. I have attempted to patch the node's pod capacity using kubectl doing the following: Sending just JSON needed for patch via: kubectl patch node...
tbs
2

votes
1

answer

update statement in c#

Anyone knows why tihs code doesn't work? Program says 'Invalid use of null'. In access thise code is working, but not hire. UPDATE cas SET cas.skupaj = CDbl([Odhod]-[Prihod])*24; try { OleDbConnection conn = GetConnection(); conn.Open(); String MyString = @'UPDATE cas SET skupaj = CDbl(Odhod-Prihod)...
CrashDown
3

votes
4

answer

Update and insert TSQL

How can i modify TSQL update statement below to insert partid of the source table is not in the partid field of Item ID ='500224' in destination table. if doesn't exist I need to insert. USE [DBNAME]; GO UPDATE m SET [partId] = a.[partId] select * FROM [SourceTable] m INNER JOIN [DestTable] a ON m...
user6305775
2

votes
1

answer

UPDATE from CTE

I am updating a table from the result of a self join via a CTE. When doing a select to view the expected results of the update it is able to return the results in 16 seconds. However, when I then use the same syntax to try to actually update the underlying table, it is excruciatingly slow. For the l...
tentrade
1

votes
2

answer

Pymongo multi update query

I have the following query DB_HOST = '127.0.0.1' COLLECTION = 'scraper' db = pymongo.MongoClient(DB_HOST)[COLLECTION]['scrap'] db.update({'indice':0, 'thread_id':{'$in':list_to_update}},{'updated':'yes'}, multi=True) where list_to_update is a list of thread_ids where I would like to insert the field...
user2950162
2

votes
1

answer

WebGL update dynamic meshes

I have a collection of verticies (a mesh) that is updated each frame, think of a flower that grows and has to be drawn on the screen. I currently render the mesh by binding the Float32Array, that containins the mesh verticies, each tick, so each frame the buffer is uploaded to the GPU. Is there any...
Cristy
2

votes
5

answer

JavaScript to update MySQL?

:) I'm hoping to make a very simple rating system. It won't consist of anything like averages, it's literally vote up or vote down, so if there's more votes down it'll go into a minus stance. What I'd like is for when the links to vote up/down are clicked, the page isn't refreshed, just that rating...
Richard Hedges
2

votes
1

answer

Pentaho Dimension lookup/update

I have seen Dimension Lookup/Update documentation here and a few other blogs. But I cannot seem to get a clear idea. I have a table with the following structure: Key Name Code Status IN Out Active The key name code status active comes from a csv file . I need to use Dimension lookup/update step for...
rasika vijay
3

votes
0

answer

Wordpress plugin update

I need to implement update for my plugin which is not on wordpress repository. What I need to know is difference between two filters: 'site_transient_update_plugins' and 'pre_set_site_transient_update_plugins' I implemented one class for update with 'pre_set_site_transient_update_plugins' filter: cl...
masacenje
2

votes
1

answer

update c3p0 using maven

I have a very specific maven/c3p0/hibernate related question. I have a web archive project that relies on c3p0 for connection pooling and have accidentally used the old c3p0 dependency (0.9.1) in my project. I've only recently noticed my mistake and want to upgrade to the latest version, so I delete...
user3002369