1
Working with Web Services
2
=========================
10
* Does not respect the WORKFLOW !!!
11
2. XML files (with –update=)
13
* Script, same as website interface
15
How to backup/restore a Postgresql database?
19
pg_dump terp >terp.sql
23
createdb terp --encoding=unicode
26
psql -d terp -f terp.sql
31
1. create({'field':'value'})
33
2. search([('arg1','=','value1')...], offset=0, limit=1000)
35
3. read([IDS], ['field1','field2',...])
36
* return [{'id':1, 'field1':..., 'field2':..., ...}, ...]
37
4. write([IDS], {'field1':'value1','field2':3})