MCPcopy Index your code
hub / github.com/Openpanel-dev/openpanel / getLimit

Function getLimit

packages/db/src/sql-builder.ts:46–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 const getOrderBy = () =>
45 Object.keys(sb.orderBy).length ? `ORDER BY ${join(sb.orderBy, ', ')}` : '';
46 const getLimit = () => (sb.limit ? `LIMIT ${sb.limit}` : '');
47 const getOffset = () => (sb.offset ? `OFFSET ${sb.offset}` : '');
48 const getJoins = () =>
49 Object.keys(sb.joins).length ? join(sb.joins, ' ') : '';

Callers 1

createSqlBuilderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected