Skip to content

Commit dac2302

Browse files
committed
regen
1 parent ddc82e4 commit dac2302

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/query.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,14 @@ export class Query {
195195
static orderAsc = (attribute: string): string =>
196196
new Query("orderAsc", attribute).toString();
197197

198+
/**
199+
* Sort results randomly.
200+
*
201+
* @returns {string}
202+
*/
203+
static orderRandom = (): string =>
204+
new Query("orderRandom").toString();
205+
198206
/**
199207
* Return results after documentId.
200208
*

0 commit comments

Comments
 (0)