Questions tagged [crud]

The four basic operations for a data management system : Create, Read, Update, Delete

The four basic operations that can be used on a relational database table are

  • C reating
  • R eading
  • U pdating
  • D eleting

A CRUD application is one that performs these basic operations. A CRUD framework is an application framework that gives these functionalities as a base for the development.

Also see: , ,

4608 questions
1
vote
2 answers

Rest DELETE verb with matlab's webread/webwrite

Is there a way to send PUT and DELETE requests with webread() / webwrite()? Trying to do opt = weboptions('RequestMethod','delete') gets me the following error message: Error using weboptions (line 223) Expected RequestMethod to match one of these…
ImAlsoGreg
  • 655
  • 6
  • 17
1
vote
0 answers

Testing laravel Eloquent\Model

I was wondering, How am I supposed to write unit tests for laravel's eloquent models because most of my application are basically CRUD apps and there isn't much logic especially in ORM models, but obviously I want to have covered my application by…
rtgnx
  • 46
  • 1
  • 5
1
vote
1 answer

Optional Positional Arguments Raising ValueError

I have built a CRUD API for working with a database. The Retrieve(or Read) function for the table class, assessment_results is currently giving me issues. Background regarding the design: the API also has a convenience file that inherits from the…
thesayhey
  • 938
  • 3
  • 17
  • 38
1
vote
1 answer

Help me find this Use Case story

I remember reading a how-to book several years ago, about Use Cases. (This was probably before user stories supplanted this part of the terminology.) The task at hand was something like adding new customers. There was roughly a 1-page offset section…
dkretz
  • 37,399
  • 13
  • 80
  • 138
1
vote
0 answers

Adding role based user Authorization layer to my Angular-fullstack website

I have started a MEAN application and used a yeoman generator - angular-fullstack and then used a angular fullstack crud generator so I have a basic template ready and now I want to add custom authorization middleware to it so that I can assign…
Harshit Laddha
  • 2,044
  • 8
  • 34
  • 64
1
vote
1 answer

Update a Core Data record in iOS application

I've just read some tutorials and decide to add Core Data storage to my project. Then I implement "create" and "read" methods. It works OK. But then I encountered a problem with "update" method. - (void)updateForecastPlace:(NSString…
nadein
  • 357
  • 5
  • 14
1
vote
1 answer

Yii2 Form Fields

How can I edit the _search view (which is implemented by Yii2 Crud Generator), so that I can make two form fields on the same line? (Note that I have resized the form fields to 500px so that they can fit one line). Also, I would like the 'Search'…
Ragheb AlKilany
  • 913
  • 3
  • 11
  • 20
1
vote
1 answer

Telosys tools Java - Generate CRUD UI from MySQL database, BeanCreationException

I want to develop basic create, read, update and delete functionality for a MySQL database that I have using Spring 4.1.1 and Hibernate 4.3.6. I am trying to use Telosys tools for the purpose but after I complete every step on the tutorial I get…
Nikhil Girraj
  • 1,135
  • 1
  • 15
  • 33
1
vote
1 answer

PHP Crud Updating selection shows duplicate

I have a PHP Crud system. One of the options when creating a new record is a selection box with two options. Netman and Administrator. When I update the record I see the option, but it duplicates and it has the other option, like this. I cant see…
Jay
  • 31
  • 5
1
vote
1 answer

MEANJS create modules using YO

I downloaded MeanJs project from Github and used Yo generator to create new CRUD module by using next command: yo meanjs:crud-module xxxx But it looks like the module been created in different location, not the same location where other modules are…
Eugene Vilder
  • 492
  • 1
  • 9
  • 26
1
vote
0 answers

How can I edit the results of a pivot query?

I've been looking at different CRUD's that work fine when it's just a table, but how can I get CRUD functionality on the results of pivot query? I made a fiddle here: http://www.sqlfiddle.com/#!9/12eb0/3/0 Are there any solutions that will help me…
orson
  • 11
  • 3
1
vote
0 answers

Why does the Kendo TreeView delete nodes after drag and drop?

I have a Kendo TreeView bound to a DataSource that is connected to a CRUD API via its transport object. I now want to re-order nodes in the tree using drag and drop and save these changes to the DB. I do this by calling .sync() on the DataSource in…
vollstock
  • 126
  • 1
  • 9
1
vote
5 answers

How do I overwrite every fifth instance of an element in an array in rails?

I'll start by saying that I'm new to rails. This question is for a class I'm currently taking. The lesson topic is CRUD, and the content is a db that stores posts along with their titles and comments. The instructions are as follows: Overwrite the…
JonMalis
  • 13
  • 5
1
vote
1 answer

What's the correct way of using the accepts_nested_attributes_for and the build methods for updating record in Rails?

I'm using Rails 4.1.4 on a Xubuntu machine. I have a Question model that has many alternativas (possible answers in my language), like this: # question.rb class Question < ActiveRecord::Base has_many :alternativas, dependent: :destroy …
Gabriel
  • 367
  • 2
  • 5
  • 15
1
vote
4 answers

SQLite Database for Ionic

I am having trouble doing CRUD operations in SQLiteDatabase in ionic framework. This is my main "index.html" page, where I am displaying my div by replacing another div using "replaceWith()", which I learned recently!
Krazzie KAy
  • 800
  • 1
  • 7
  • 17
1 2 3
99
100