logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wiki-toolkit-delete-node - Delete a node stored in a Wiki::Toolkit instance.

Author

       Nick Burch

Description

       Takes four mandatory arguments:

       type
           The database type.  Should be one of 'postgres', 'mysql' and 'sqlite'.

       name
           The database name.

       nodename
           The name of the node to be deleted.

       id  The id of the node to be deleted

       four optional arguments:

       user
           The  user  that  connects  to  the database. It must have permission to create and drop tables in the
           database.

       pass
           The user's database password.

       host
           The hostname of the machine the database server is running on (omit for local databases).

       port
           The port number that the database server is expecting connections to.

       version
           The version number of the node to delete

Name

       wiki-toolkit-delete-node - Delete a node stored in a Wiki::Toolkit instance.

See Also

       Wiki::Toolkit

perl v5.32.0                                       2021-01-04                       WIKI-TOOLKIT-DELETE-NODE(1p)

Synopsis

         # Delete a node in a Wiki::Toolkit instance

         wiki-toolkit-delete-node --type postgres
                  --name mywiki \
                  --user wiki  \
                  --pass wiki \
                  --host 'db.example.com' \
                  --port 1234 \
                  --nodename MyNodeName

         wiki-toolkit-delete-node --type postgres
                  --name mywiki \
                  --user wiki  \
                  --pass wiki \
                  --host 'db.example.com' \
                  --port 1234 \
                  --id 2 \
                  --version 7

return

See Also