Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
0 answers
21 views

how to prevent duplicate keys into database with mongodb and expressjs

i am working a crude project with mongodb expressjs and pug(formerly knone as jade) i am stuck on preventing duplicate keys both on Front-end and backend. this is what i did.... let mongoose = require(...
Obi Apostle's user avatar
0 votes
0 answers
58 views

Failing to dynamically Add and update OrderModel with list of CartItems

My app properly builds a model context container. and successfully displays all saved objects(including lists of cart items). However, my Create and Update piece that is supposed to add new ...
MLBeast's user avatar
  • 13
0 votes
0 answers
21 views

In Laravel, I want a page history not be stored in browser history. How to prevent user using "back" button to see the old page

am working with CRUD project Laravel using Modal for: create, delete, update. But there is a situation when user from Home Page go to a Room Page. In the Room Page, they will click the update button ...
Trong Tue's user avatar
1 vote
0 answers
24 views

How to connect multiple lambda function to a unified api in Golang

I created a Golang hotel reservation application which uses GraphQL and dynamodb. I have a reservation module which has the CRUD functions. All the functions have their own APIs. like create has ...
Tharun Raj's user avatar
-1 votes
1 answer
35 views

Delete Method in CRUD operation in Spring Bo

I have been trying CRUD Operation for my spring boot. I have to delete the row by given name in delete() method. I need some guidance to get this working. I debugged the code but it returns 500 error ...
Maniverse's user avatar
1 vote
0 answers
16 views

Symfony/EasyAdmin: how to access entity when rendering embedded form

I'm using Symfony 6.4 and EasyAdmin 4.10 I'm rendering a form including embedded forms for entities included in the main entity (A Client class that includes several Videos and Playlists). I'm ...
DaveFX's user avatar
  • 465
0 votes
0 answers
36 views

How to save decryption key in Python using sqlite during GUI lifespan?

I'm using from pysqlcipher3 import dbapi2 to work with encrypted SQLite databases in a Python application with a GUI. Every time I connect to the database and decrypt it, I use the following code: ...
JosephMoraila's user avatar
0 votes
0 answers
18 views

OData Restier POST request body

I have a .NET 8 Blazor App. I want to use OData for CRUD. My database is code first, created with migrations. For the following model: public class Category { [Key] public int Id { get; set; } ...
Florin's user avatar
  • 1
0 votes
0 answers
24 views

Automatic translator from OData requests to GraphQL

I have an existing GraphQL endpoint, and I need to connect it to a service that understands OData for CRUD operations. Is it physically possible to write an automatic translator from OData requests to ...
alexanoid's user avatar
  • 25.4k
0 votes
0 answers
71 views

Notes not showing up on Main View (Flutter App)

Ive been following freecodecamp 37 hour flutter course by Vandad. The course was running smoothly without any problem until 21:50:42, when he teaches how to show all notes in main ui. Ive wrote the ...
Mohit Mudgal's user avatar
1 vote
0 answers
98 views

Failed to execute command: node @nestjs/schematics:

$ nest g resource employees ? What transport layer do you use? REST API ? Would you like to generate CRUD entry points? Yes Error: Cannot read properties of undefined (reading 'text') Failed to ...
Luiz Fernando R. Mecias's user avatar
0 votes
2 answers
65 views

.NET / EF Core CRUD The database operation was expected to affect 1 row(s), but actually affected 0 row(s);

I'm creating a new project trying to use Generics as much as possible, but I've encountered an issue when doing HttpPut and using EF Core. I'm using SQL Server in a container to store temporary data. ...
Marcio's user avatar
  • 27
0 votes
0 answers
30 views

UpdateForm.js:78 PUT http://localhost:8080/api/items/4 422 (Unprocessable Content)

I was working on a Small Personal Project of mine of learning purposes. Using ReactJs as Frontend & send requests to Laravel API as Backend. The CRUD application I made is almost complete but the ...
Aarish Mughal's user avatar
1 vote
0 answers
71 views

Problems with the update in CRUD PHP Codeigniter 4

I'm trying to do a CRUD with Codeigniter 4, it's my first time using this framework. I created the Database in Mysql and I have already done the register and login ( they work at the moment) So on the ...
Diseño ma's user avatar
1 vote
1 answer
88 views

Can't post image file to Express server with Angular 18.0.6

I am not a native English speaker so my english might be hard to read. I am currently developing Angular(18.0.6) application and trying to implement CRUD using express and mysql. What I am trying is ...
近藤亮太's user avatar
0 votes
0 answers
16 views

NextJs router to match Forms

I have a basic app that posts an object to the back end. Frontend is nextjs and backend is django, thus backend does not matter for this question I am sticking to crud/rest as much as I can. My ...
Evren Bingøl's user avatar
3 votes
1 answer
25 views

Django error: Reverse for 'user_workouts' not found. 'user_workouts' is not a valid view function or pattern name

I'm working on my project for a course and I'm totally stuck right now. I'm creating a website to manage workouts by user and the create workout do not redirect to the user's workouts page when I ...
Anass Najam's user avatar
0 votes
1 answer
47 views

How to make update function in crud

i'm trying to make an edit function in crud using js and i can't make it the problem is that the row doesn't update when i click on the edit button the info appears in the input fields again but when ...
Nour's user avatar
  • 11
0 votes
0 answers
64 views

How to do CREATE for tables with foreign key in ASP.NET C#

{ "FacilityID":"18c9aebb-0874-4fc2-900e-48f6b192797f", "FacilityRoomNumber":102, "FacilityPurpose":"DSFDSF", "LabTypeID":"...
huh's user avatar
  • 1
0 votes
2 answers
38 views

Ignoring request for not matching predefined routes

I have some Sanic Python app code where following routes are defined: def create_inspector(app): inspector = Sanic(configure_logging=False) inspector.config['KEEP_ALIVE'] = False ...
vector8188's user avatar
  • 1,373
2 votes
2 answers
65 views

Woocommerce Schedule Sale Start Date Issue

I am trying programmatically set a sale start date. I am using: function mysalesdates( $product, $sale_start,$sale_end ) { if ( ! is_a( $product, 'WC_Product' ) ) { $product = wc_get_product(...
Steve's user avatar
  • 21
0 votes
0 answers
28 views

How to implement separate databases for each user in a CRUD web app?

I am currently building a simple crud web app for companies (user) to store their employee details. The problem is about "how do I implement so that each user can would have their own database ...
Malcolm's user avatar
0 votes
0 answers
24 views

disable pagination crud generator nest js data/ui

I tried everything I could to turn off pagination and exclude limit page and override the getManyBase method via override, but I still can’t turn it off and at the end of the request I get http://...
Slow Storm's user avatar
0 votes
0 answers
36 views

In Nestjs, How to dynamic create controller, module, schema by one service

I want to create dynamic service by user from frontend; For example, I create a form with moduleName, moduleUrl, schema options, and then save with createModule service to let nestjs to dynamic create ...
M.H's user avatar
  • 79
0 votes
0 answers
14 views

How to validate same name category creation that already exits in database while creating crud REST API?

I am creating CRUD API for category and products, each category may have many products, but I want to validate that if for example category name "Grocery", I already added (exist in database)...
Ashar Ul Haq's user avatar
0 votes
1 answer
40 views

ListView builder with data from API

i have data from API that contains 400++K data, when I search some data, it works but only shows the data that is on page 1this API contain 10 data per page this is my controller, i want to search ...
Keroppiiiii's user avatar
0 votes
1 answer
63 views

SwiftData updating a Model's property which is a list

I have following problem, please refer to the code below. In the app I can create an Artist (@Model) and add some Albums (@Model) to it. These are stored and displayed as supposed. When I'm launching ...
Bakira's user avatar
  • 101
1 vote
1 answer
54 views

add hours to a datetime field in mongodb

How do I add hours to a timestamp in a filtered set of documents in mongodb? A few documents were entered into a collection with a timestamp of 13:00 Pacific Time (PDT) in error, rather than the ...
fip's user avatar
  • 63
2 votes
2 answers
61 views

Issues regarding Updating values using CRUD operations in angular 17 with JSON Server

When I want to update the records stored in an API, the route is passed via ActivatedRoute and is available in the file, but the records are not showing up in the HTML where I want the user to update ...
makarandrtx's user avatar
2 votes
1 answer
75 views

Order custom field added via checkout is lost after WooCommerce HPOS sync

My website have custom field in /checkout page in Woocommerce is: Link (Facebook/Zalo/Telegram), but I have problem when active HPOS, when click button Sync and active Compatibility mode of HPOS, it ...
Ave's user avatar
  • 4,400
2 votes
1 answer
108 views

prime react - How can I make newly added rows instantly editable?

I'm using prime react table to render dynamic data in react. I built my component with the help of the datatable docs. When I click the add row button, I would like that the new added row to be ...
Alex K's user avatar
  • 83
1 vote
1 answer
50 views

How to find objects using JpaRepository with multiple non-requiered request parameters?

I need to find some objects for all 3 non-required parameters from request with pagination: @GetMapping public ResponseEntity<List<Book>> getBooks(@RequestParam(value = "name", ...
indie's user avatar
  • 31
0 votes
1 answer
67 views

Can't Auto Fill Form When Trying To Edit - CRUD

Hello I was trying to use the Edit function from Laravel CRUD with resource. The problem that I got is that the form is not filling any of the old data that I already created using the value="{{ ...
NyK's user avatar
  • 3
0 votes
0 answers
26 views

Many one-to-one relationships pointing to the same model Django

I'm designing an application in Django where I have an Item model with numerous attributes for each item. I'm experiencing very poor performance in my application and I'm wondering if there are flaws ...
Josh's user avatar
  • 1
0 votes
1 answer
56 views

Why is my PHP code not correctly updating my CRUD application?

I am trying to make a CRUD app for my business, I have little knowledge with PHP. I followed a guide that has proven to be successful until I got to the update portion. <?php $servername = "...
Jakkber's user avatar
1 vote
0 answers
30 views

Fetching multiple channel Id's using an array of channel names with youtube api v3

I am trying to fetch multiple channel id's using a array of different channel names in order to use 100 search quota units for a max of 50 channel names and 1 unit per channel id fetched instead of a ...
Quantum Coder's user avatar
1 vote
1 answer
35 views

Django delete record with ajax only disappears after manual refresh

I want to delete records from my table using Ajax and Sweetalert2 dialog. However, when I click the delete button and confirm the delete, the item is deleted from the modal but is still visible in the ...
LeXXan's user avatar
  • 15
-4 votes
2 answers
69 views

Use "with" in all CRUD functions

We have some issues with FastAPI (reading and "lost" data from database), so we use with instead of Depends. Is it a good practice? with SessionManager() as db: @router.get("/{id}&...
James's user avatar
  • 1,451
-1 votes
1 answer
28 views

Laravel API with postman general error at 1364 Field

Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1364 Field 'user_id' doesn't have a default value (Connection: mysql, SQL: insert into posts (post, updated_at, created_at) values (...
ThereIsHope's user avatar
0 votes
0 answers
40 views

error 500 : internal server error : Caused by: org.postgresql.util.PSQLException: ERROR: null value in column "name" violates not-null constraint

i'm working on a spring boot angular application , i'm trying to create an update method in angular but all i get is an error 500 : internal server error , when i check my backend it shows this error: ...
Jalel MED's user avatar
-1 votes
1 answer
47 views

MongoDB CRUD Nextjs Delete request not working

I'm trying to delete topic but it's not working. id is complete empty i think but still can't solve this. It's my app/api/topics/[id]/route.js import connectMongoDB from "@/lib"; import ...
orgil naranhuu's user avatar
1 vote
1 answer
142 views

C# form with MySQL, DataGridView

There is any way to make this C# form DataGridView with MySQL, setup more simpler? In this example project i 'm using a myDB database person table to fill the DataGridView, and handling CRUD methods. ...
ThereIsHope's user avatar
0 votes
1 answer
50 views

Error fetching a paginated list of users; what could be wrong?

I'm having a bit of trouble getting certain results as intended, using FastApi, Sqlalchemy, and Pydantic (v2) schemas. Here's code I have running, abstracted for the purpose of this question: database....
emmanuel's user avatar
0 votes
0 answers
68 views

Category crud in ASP.NET MVC and C#

I am developing an application in ASP.NET MVC 5 for performing CRUD operations. I have successfully added the Northwind database as an entity data model and taking Customer in the model. Now with the ...
guest_person's user avatar
0 votes
1 answer
22 views

SQLAlchemy not updating db due AttributeError

I have a "edit task" page on a crm project with flask and I have built a POST route to update the db and then redirect to "tasks page". However, I keep receiving the AttributeError ...
vini.m.oliveira's user avatar
0 votes
0 answers
23 views

The method save(Iterable<S>) in the type MongoRepository<Blog,String> is not applicable for the arguments (Blog)

After following a lot of online articles about starting up a CRUD app with Java/Mongo, I am seeing this error. I did a lot of iterations, but cannot figured it out... Blog Model import lombok....
flat's user avatar
  • 1
0 votes
0 answers
22 views

Why I have to submit the CRUD twice for it to take affect

import React, { useState, useEffect } from "react" import axios from "axios" import { DataGridPro, GridToolbarContainer, GridToolbarExport, GridToolbarColumnsButton, ...
Dante Cady's user avatar
0 votes
0 answers
8 views

React Firestore: Unable to Render Tabs for Student Data

I'm encountering an issue with rendering tabs for student data in my React application that uses Firestore as the backend database. I have a Firestore collection named "STUDENTS" where each ...
Colerenacido's user avatar
0 votes
0 answers
13 views

Cookies Are Saved when sign up and sign in but not when updating

In Backend Node Express I can verifyUser by cookies but when i want to update user, the cookies are undefined , I also have used cookieParser and The cookie path is "/" .When i try it in ...
Uesli Laska's user avatar
0 votes
1 answer
27 views

JMeter mechanism to negotiate a global variable assignment between threads from multiple different thread groups and pause them until a met condition

I am using JMeter and I have a situation in which I want to send a specific load of create update and delete operations against a target system under test. I thought of separating the logical create, ...
JustNatural's user avatar

1
2 3 4 5
93