core-repository-crud

Repository for CRUD on SQL Database

Usage no npm install needed!

<script type="module">
  import coreRepositoryCrud from 'https://cdn.skypack.dev/core-repository-crud';
</script>

README

Repository support CRUD operations

Example

var repoStudent:StudentRepo = new StudentRepo(handler, adapter);

var result = await repoStudent.findAll();

await repoStudent.insert(student);

await repoStudent.updateById(1, student);

await repoStudent.deleteById(1);