-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
AFAIK, database-js-ini does not support INSERT commands yet. One problem is probably the syntax.
Thus, I would like to suggest a syntax for that:
Insert into the ROOT
INSERT INTO ROOT VALUES ( "foo", "bar" )
INSERT INTO ROOT VALUES ( "max", 1 )
would produce
foo=bar
max=1
Insert into a section
INSERT INTO `my section` VALUES ( "foo", "bar" )
INSERT INTO `my section` VALUES ( "max", 1 )
would produce
[my section]
foo=bar
max=1
Notes:
- Section is created if not exists.
- Values are overwritten if exist.
Metadata
Metadata
Assignees
Labels
No labels