File: README

package info (click to toggle)
libgwenhywfar 5.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,300 kB
  • sloc: ansic: 135,622; cpp: 11,186; sh: 5,025; objc: 2,548; makefile: 2,357; xml: 1,882
file content (59 lines) | stat: -rw-r--r-- 1,597 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59


CSV Plugin
==========

This plugin can be used to export a GWEN_DB to a CSV stream.
CSV is a very old format which allows to transfer data between data base
programs.

This plugin uses a special configuration GWEN_DB which tells it which
column of a line is to contain which variable from the DB.

That configuation is most likely loaded from a configuration file.
Below is an example of such a file (taken from AqMoney2):

-----------------------------------------------------------------------X8
# this file contains the description of a CSV format when exporting
# transactions

# if 1 then values are quoted
quote="1"

# if 1 then a title line will be written containing the names of each
# column
title="1"

# special values are "TAB" and "SPACE"
delimiter=";" 

# this is the group name looked for in the given data to GWEN_DBIO_Export
# if not given then all groups match
#group="transaction"

# this group contains the definition for each column
# each variable in this group has its number as name
# you can use index variables in the names (using square brackets)
# the value of each of these variables is the name of a variable to be looked
# up in the data given to GWEN_DBIO_Export
columns {
  1="jobid"
  2="ouraccount/bankCode"
  3="ouraccount/accountId"
  4="otheraccount/bankCode"
  5="otheraccount/accountId"
  6="date"
  7="valutadate"
  8="value/value"
  9="value/currency"
  10="othername[0]"
  11="othername[1]"
  12="purpose[0]"
  13="purpose[1]"
  14="purpose[2]"
  15="purpose[3]"
} # columns
-----------------------------------------------------------------------X8