-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
AFAIK, database-js-ini does not support DELETE commands yet. One problem is probably the syntax.
Thus, I would like to suggest a syntax for that:
Delete from the ROOT
DELETE FROM ROOT
would remove all the sections and keys from the file.
Delete a section
DELETE FROM `my section`
would remove the section "my section".
DELETE FROM `my section` WHERE max < 100
would only remove the section "my section" if "max" is less than 100.
Notes
- Keys can be removed with the UPDATE method, setting their value to NULL.
For example:would remove the key "max" if its current value is less than 100.UPDATE `my section` SET max = null WHERE max < 100
Metadata
Metadata
Assignees
Labels
No labels