Skip to content

Latest commit

 

History

History
50 lines (47 loc) · 427 Bytes

orm_apis.md

File metadata and controls

50 lines (47 loc) · 427 Bytes

ORM Apis

Operations
  • find
  • all
  • where
  • then
  • save
  • destroy
Model
  • get
  • set
  • unset
  • extend
  • each
  • map
  • keys
  • values
  • contains
  • pick
  • toJson
  • attributes
Collection
  • pluck
  • each
  • map
  • reduce
  • reduceRight
  • find
  • filter
  • where
  • findWhere
  • reject
  • every
  • some
  • invoke
  • sortBy
  • groupBy
  • indexBy
  • countBy
  • shuffle
  • sample
  • size
  • partition
  • first
  • last
  • toJson
  • toArray