MCPcopy
hub / github.com/opentrace/opentrace / getAllUsers

Method getAllUsers

tests/fixtures/typescript/project/db.ts:42–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 getAllUsers(): User[] {
43 const stmt = this.db.prepare("SELECT id, name, email FROM users");
44 return stmt.all() as User[];
45 }
46
47 insertUser(name: string, email: string): User {
48 const stmt = this.db.prepare(

Callers 1

server.tsFile · 0.45

Calls 1

prepareMethod · 0.80

Tested by

no test coverage detected