问题:
Objective
When user makes a request (REST API) I want to copy N records from table source to table destination.
Current solution
Start the transaction.
Trunca...
问题:
I want to create and save a user with the given username, password, first name, last name and email such as simple user, staff and superuser in models.py and in the front e...
问题:
I've been doing some research and haven't found anything that I've been able to make work, unfortunately, and I think that stems from not understanding the MySQL construct...
问题:
I have exhausted looked and looked to find my exact situation. I want to understand why this isn't working, also I want to make sure this logic is safer from injection hack...
问题:
I've built a school management system for my own needs. The size of tables ranges from ~200 rows to ~30,000 rows /at the end of school year/.
Some of my friends have seen...
问题:
Hello I have this problem that I am trying to save a file to a directory on htdocs it says permission denied.
<?php
$image = file_get_contents('http://www.affiliat...
问题:
I am working in an environment that is under extreme load. It is a DB used by about a thousand users with one application. This application does thousands of queries agains...
问题:
The code below works like it should, but now I want to add multiple dates like this:
reservationStartDate = 2018-07-16, 2018-07-17
SELECT
*,
SUM(IF(reservation...
问题:
Here's a sample of the data I'm pulling from:
+-----+------------+---------+----------+------------+
| id | name | carrier | tracking | date |
+-----+-------...
问题:
I want to use ENUM in my class but TINYINT in my database. I followed this article: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/cookbook/mysql-enums.html...
问题:
I have written following properties in my configuration files I am using Log4j in my application When I am running a project.
I am getting following message.does that mea...
问题:
I have a code to display users and I have a delete button for deleting user. When I delete any user, the deleted user will be removed from the user list. In the above I hav...
问题:
I have this PHP code and I'm trying to insert data into my database. It doesn't seem to work and I'm not sure why. I tried to echo mysqli_error, but it didn't show me any e...
问题:
I am running Django Rest API on an AWS ec2-server. Right now the Api's are using MySql localhost database. Should I shift my database from MySql localhost to Amazon RDS ins...
问题:
in my school application i want to know due amount of a student so that in my
fee_class_mapping table i have the fees assigned to the class of the student as follows
+...