モジュール 開発: Difference between revisions

m
Tag: 2017 source edit
Line 96: Line 96:
*文字列にダブルクォートを使わない(例: "chaine" でなく 'chaine') ダブルクォートは PostGreSQL では特定の意味を持つ
*文字列にダブルクォートを使わない(例: "chaine" でなく 'chaine') ダブルクォートは PostGreSQL では特定の意味を持つ


Example of content of a file data.sql
例としてファイル data.sql の中身は
<syntaxhighlight lang="sql">
<syntaxhighlight lang="sql">
  delete from llx_const where name='MYMODULE_IT_WORKS' and entity='__ENTITY__';
  delete from llx_const where name='MYMODULE_IT_WORKS' and entity='__ENTITY__';
Line 102: Line 102:
</syntaxhighlight>
</syntaxhighlight>


Files must be operational for the database mysql. Rem: The files of other databases are not maintained. They will be read and converted on the fly by the driver of the other database.
ファイルは、mysql データベースで動作可能であること. 備考: 他データベースのファイルはメンテナンスされない. 他データベースのドライバによって、その場で読込まれ変換さる.


===Test your .sql files===
===Test your .sql files===
56

edits