Changes

Jump to navigation Jump to search
Line 68: Line 68:     
* To manage data, you must create a file called '''data.sql''' inside directory '''/mymodule/sql/''' that contains SQL command to add/edit/delete data.
 
* To manage data, you must create a file called '''data.sql''' inside directory '''/mymodule/sql/''' that contains SQL command to add/edit/delete data.
 
+
* Don't use the double quote for strings (eg 'chaine' not "chaine") because the double quote have a specific meaning in PostGreSQL
 
Example of content of a file data.sql
 
Example of content of a file data.sql
 
<source lang="sql">
 
<source lang="sql">
41

edits

Navigation menu