File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -65,24 +65,6 @@ parameterNames() {
6565}
6666```
6767
68- ### ` formData `
69- - Returns: ` object `
70-
71- This method can be overridden in the model to configure ` object-to-formdata ` .
72-
73- See [ object-to-formdata] ( https://github.com/therealparmesh/object-to-formdata#usage )
74-
75- ``` js
76- formData () {
77- return {
78- indices: false ,
79- nullsAsUndefineds: false ,
80- booleansAsIntegers: false ,
81- allowEmptyArrays: false ,
82- }
83- }
84- ```
85-
8668#### ` include `
8769- Default: ` include `
8870- Returns: ` string `
@@ -111,6 +93,24 @@ formData() {
11193- Default: ` limit `
11294- Returns: ` string `
11395
96+ ### ` formData `
97+ - Returns: ` object `
98+
99+ This method can be overridden in the model to configure ` object-to-formdata ` .
100+
101+ See [ object-to-formdata] ( https://github.com/therealparmesh/object-to-formdata#usage )
102+
103+ ``` js
104+ formData () {
105+ return {
106+ indices: false ,
107+ nullsAsUndefineds: false ,
108+ booleansAsIntegers: false ,
109+ allowEmptyArrays: false ,
110+ }
111+ }
112+ ```
113+
114114## Model Options
115115
116116These are model-related options.
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ await Model.config({
221221## ` get `
222222- Returns: ` Collection | { data: Collection } `
223223
224- Execute the query as a "select" statement .
224+ Execute the query and get all results .
225225
226226``` js
227227await Model .get ()
@@ -251,7 +251,7 @@ await Model.find(1)
251251## ` $get `
252252- Returns: ` Collection `
253253
254- Execute the query as a "select" statement .
254+ Execute the query and get all results .
255255
256256``` js
257257await Model .$get ()
You can’t perform that action at this time.
0 commit comments