MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / endCursor

Method endCursor

packages/core/src/utils/Cursor.ts:102–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 get endCursor(): string | null {
103 if (this.items.length === 0) {
104 return null;
105 }
106
107 return this.from(this.items[this.items.length - 1]);
108 }
109
110 /**
111 * Computes the cursor value for a given entity.

Callers

nothing calls this directly

Calls 1

fromMethod · 0.95

Tested by

no test coverage detected