「データベースのエクスポート」の版間の差分

提供:MoodleDocs
移動先:案内検索
編集の要約なし
編集の要約なし
1行目: 1行目:
作成中です - [[利用者:Mitsuhiro Yoshida|Mitsuhiro Yoshida]] 2007年11月27日 (火) 09:15 (CST)
作成中です - [[利用者:Mitsuhiro Yoshida|Mitsuhiro Yoshida]] 2007年11月27日 (火) 09:15 (CST)


The [[データベーステンプレート#一覧表示用テンプレート|一覧表示用テンプレート]] can be used to export your database as a CSV file in the following way. It is assumed that you have a database with N fields, and that in this example the fields are named field1, field2 ... until fieldN.
[[データベーステンプレート#一覧表示用テンプレート|一覧表示用テンプレート]]は、以下の方法であなたのデータベースをCSVファイルとしてエクスポートするために使用することができます。あなたのデータベースには、Nのフィールドがあると仮定します。また、この例ではフィールド名がフィールド1、フィールド2 ... からフィールドNまであります。


== ヘッダ ==
== ヘッダ ==


In the header create a comma separated list of the field names
ヘッダには、カンマで区切られたフィールド名一覧を作成します。


<pre>
<pre>
field1,field2,...,fieldN
フィールド1,フィールド2,...,フィールドN
</pre>
</pre>



2007年11月27日 (火) 15:23時点における版

作成中です - Mitsuhiro Yoshida 2007年11月27日 (火) 09:15 (CST)

一覧表示用テンプレートは、以下の方法であなたのデータベースをCSVファイルとしてエクスポートするために使用することができます。あなたのデータベースには、Nのフィールドがあると仮定します。また、この例ではフィールド名がフィールド1、フィールド2 ... からフィールドNまであります。

ヘッダ

ヘッダには、カンマで区切られたフィールド名一覧を作成します。

フィールド1,フィールド2,...,フィールドN

繰り返しエントリ

In the repeated entry create a comma separated list of the field tags

[[field1]],[[field2]],...,[[fieldN]]

Save the template!

エクスポート

To export, simply select the View List tab and all your data will be in the CSV format. By default only 10 records are displayed, but this can be increased. Copy and paste to your required tool.