08-12-2011, 09:38 AM
Curlの投稿、はじめました。
RecordSetでDBのテーブルみたいに複数の主キーってできないのですか??
1つのキーはindex-type = RecordFieldIndexType.uniqueでできそうなのですが・・・。
せっかくRecordFieldsというクラスがあるのなら、できてもいいと思うのですが・・。。。
-B
RecordSetでDBのテーブルみたいに複数の主キーってできないのですか??
1つのキーはindex-type = RecordFieldIndexType.uniqueでできそうなのですが・・・。
Code:
{RecordSet
{RecordFields
{RecordField "id", index-type = RecordFieldIndexType.unique},
{RecordField "name"}
}
}
せっかくRecordFieldsというクラスがあるのなら、できてもいいと思うのですが・・。。。
Code:
{RecordSet
{RecordFields
{RecordField "id"},
{RecordField "name"},
private-keys = {{FastArray-of String}, "id", "name"}
}
}
-B