MCPcopy
hub / github.com/loopbackio/loopback-next / UserService

Class UserService

packages/core/src/__tests__/unit/service.unit.ts:560–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558 }
559
560 @injectable({scope: BindingScope.SINGLETON})
561 class UserService {
562 constructor(
563 @service(DatabaseService)
564 private db: DatabaseService,
565 ) {}
566
567 getUsers() {
568 return this.db.query();
569 }
570 }
571
572 class UserController {
573 constructor(

Callers

nothing calls this directly

Calls 1

injectableFunction · 0.90

Tested by

no test coverage detected