Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 1.18 KB

File metadata and controls

16 lines (11 loc) · 1.18 KB

Internal Flow of Loopback Repository

Query Call Structure with juggler

  • An example of user repository:

image

A summary of the code flow is:

  1. LB4 Repository calls Juggler Model Class .create
  2. Juggler Model Class gets the above method (and others) from being mixin-ed Juggler DataAccessObject by default
  3. Juggler DataAccessObject .create calls the Juggler SQL Connectors' .create
  4. The Juggler SQL Connectors inherit from loopback-connector's SQLConnector

Ref: loopbackio/loopback-next#3357 (comment)