跳至內容
選單
此問題已被標幟
1 回覆
3344 瀏覽次數

Both are useful, just need to know which is better in terms of speed and efficiency.

頭像
捨棄
最佳答案

.filtered is faster because it applies on object of records which can be specific but .search is used whole model records.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 15
6279
2
11月 23
3196
1
12月 22
4457
2
1月 22
2843
1
6月 21
2882