2.0.11 • Published 4 years ago

@puzzleframework/repository v2.0.11

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
gitlab
Last release
4 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

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.0-alpha.7

4 years ago

2.0.0-alpha.5

4 years ago

2.0.0-alpha.6

4 years ago

2.0.0-alpha.4

4 years ago

2.0.0-alpha.3

4 years ago

2.0.0-alpha.1

4 years ago

2.0.0-alpha.2

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago