INSERT INTO BUG? #13
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Limework/skript-db#13
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
execute "INSERT INTO
user
(playeruuid
,playerid
) VALUES (%uuid of player%,%player%) ON DUPLICATE KEY UPDATEplayeruuid
=VALUES(playeruuid
),playerid
=VALUES(playerid
)" in {-sql}This is my code and this code doesn't work
The reason is because my values contain variables
If my value is 123 or ""abc"" today, there will be no error
Here is a screenshot of my error
My version is the latest version
i was try change the player to a var or name of player but still don't work
execute "INSERT INTO user (playeruuid, playerid) VALUES (%uuid of player%,%name of player%)" in {-sql}
still don't work
try using this version
https://github.com/Limework/skript-db/releases/tag/1.3.2
yep i am use this version
aww I tried to drop the skript version back to 2.5 and amazingly it worked!
yes skript 2.6 broke something
@GovindasOM you might need to look at this
I wasn't sure how to fix this so I asked TPGamesNL for help, could you try this jar if it solves your issue? (I do not have time to test it myself right now)
skript-db.zip