From 268a9c5cea06f2c0b999039d76dc5c33d7e304bf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 8 Feb 2014 23:42:22 -0500 Subject: documentation, minor update --- .../sisu/markup-samples/manual/en/sisu_postgresql.sst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'data/doc/sisu/markup-samples/manual/en/sisu_postgresql.sst') diff --git a/data/doc/sisu/markup-samples/manual/en/sisu_postgresql.sst b/data/doc/sisu/markup-samples/manual/en/sisu_postgresql.sst index 574e307c..e5b0c4cb 100644 --- a/data/doc/sisu/markup-samples/manual/en/sisu_postgresql.sst +++ b/data/doc/sisu/markup-samples/manual/en/sisu_postgresql.sst @@ -54,29 +54,29 @@ may be used interchangeably. 3~ create and destroy database -!_ --pgsql --createall
+!_ --pgsql --createall \\ initial step, creates required relations (tables, indexes) in existing (postgresql) database (a database should be created manually and given the same name as working directory, as requested) (rb.dbi) -!_ sisu -D --createdb
+!_ sisu -D --createdb \\ creates database where no database existed before -!_ sisu -D --create
+!_ sisu -D --create \\ creates database tables where no database tables existed before -!_ sisu -D --Dropall
+!_ sisu -D --Dropall \\ destroys database (including all its content)! kills data and drops tables, indexes and database associated with a given directory (and directories of the same name). -!_ sisu -D --recreate
+!_ sisu -D --recreate \\ destroys existing database and builds a new empty database structure 3~ import and remove documents -!_ sisu -D --import -v [filename/wildcard]
+!_ sisu -D --import -v [filename/wildcard] \\ populates database with the contents of the file. Imports documents(s) specified to a postgresql database (at an object level). -!_ sisu -D --update -v [filename/wildcard]
+!_ sisu -D --update -v [filename/wildcard] \\ updates file contents in database -!_ sisu -D --remove -v [filename/wildcard]
+!_ sisu -D --remove -v [filename/wildcard] \\ removes specified document from postgresql database. -- cgit v1.2.3