Skip to main content

sow-paginated

Import the Client and Command:

import { Client, Command } from 'amps';

Constructing the command:

const subCmd = new Command('sow').topic(topic).orderby('/id DESC').options('top_n=10,skip_n=100');

The command can now be used in execute.