2.0.11 • Published 5 years ago

@puzzleframework/repository v2.0.11

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
gitlab
Last release
5 years ago

Puzzle Framework Database Repository Module

A unified method to access database using class criteria.

To use this module, add the "@puzzleframework/repository" in your application "package.json" under the "puzzles" property as up as possible in the list. It will load automatically the repository class loader.

A repository will provide you with the following things:

  • Simplified database querying using criteria classes - no code duplication
  • Managed create, update, delete actions using criteria classes
  • Paginated data
  • Data validation system

Whenever you want to define a repository class, you will have to import and extend the RepositoryBase class.

Whenever you want to define a criteria class, you will have to import and extend the Criteria/CriteriaBase class. We have predefined a generic criteria class called IDCriteria which will create the seqeuelize query string based on an ID passed by the user.

Contributing

To contribute please read the CONTRIBUTING.md file.

2.0.11

5 years ago

2.0.9

5 years ago

2.0.10

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-alpha.7

5 years ago

2.0.0-alpha.5

5 years ago

2.0.0-alpha.6

5 years ago

2.0.0-alpha.4

5 years ago

2.0.0-alpha.3

5 years ago

2.0.0-alpha.1

5 years ago

2.0.0-alpha.2

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago