1WIKI-TOOLKIT-DELETE-NODUEs(e1r)Contributed Perl DocumentWaItKiIo-nTOOLKIT-DELETE-NODE(1)
2
3
4
6 wiki-toolkit-delete-node - Delete a node stored in a Wiki::Toolkit
7 instance.
8
10 # Delete a node in a Wiki::Toolkit instance
11
12 wiki-toolkit-delete-node --type postgres
13 --name mywiki \
14 --user wiki \
15 --pass wiki \
16 --host 'db.example.com' \
17 --port 1234 \
18 --nodename MyNodeName
19
20 wiki-toolkit-delete-node --type postgres
21 --name mywiki \
22 --user wiki \
23 --pass wiki \
24 --host 'db.example.com' \
25 --port 1234 \
26 --id 2 \
27 --version 7
28
30 Takes four mandatory arguments:
31
32 type
33 The database type. Should be one of 'postgres', 'mysql' and
34 'sqlite'.
35
36 name
37 The database name.
38
39 nodename
40 The name of the node to be deleted.
41
42 id The id of the node to be deleted
43
44 four optional arguments:
45
46 user
47 The user that connects to the database. It must have permission to
48 create and drop tables in the database.
49
50 pass
51 The user's database password.
52
53 host
54 The hostname of the machine the database server is running on (omit
55 for local databases).
56
57 port
58 The port number that the database server is expecting connections
59 to.
60
61 version
62 The version number of the node to delete
63
65 Nick Burch
66
68 Copyright (C) 2006 Nick Burch. All Rights Reserved.
69
70 This code is free software; you can redistribute it and/or modify it
71 under the same terms as Perl itself.
72
74 Wiki::Toolkit
75
76
77
78perl v5.36.0 2022-07-22 WIKI-TOOLKIT-DELETE-NODE(1)