Alternative method to provide dynamic arguments into sql query #28
No reviewers
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#28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "szumielxd/skript-db:master"
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?
Sometimes you want to create a query with dynamic content. For now, you're limited to using
unsafe
keyword, but as name states it isn't safe.So... Here's simple idea to provide query arguments directly as object array. Maybe not 100% foolproof, but in my opinion much better option than self-made sanitization of input.
Some examples:
Checkout
From your project repository, check out a new branch and test the changes.