Curl Global Community

Full Version: RecordSet DE 複数の主キー
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Curlの投稿、はじめました。

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
標準APIとしては用意されてないと思います。作ればできる気はします。。。
ありがとうございます。

残念な限りです。。。

追加されることを熱望し続けます!


- B