PJS ORM

About This Space

A simple demo to show the recently ORM added into PJS in mid 2019.


Last updated on September 10, 2020

Public Permissions:   View   Open/Fork   Run   Comment  

This is an overview of the files within this project and to show usage of the recently added ORM into PJS.

  • Starting with file customers.dbdefn.js
    • This is the business logic and mapper and model builder.
  • test.js - server side node program does actions against that dbdefn

Under the covers the data access is all happening by way of this pjs.data api. The data api constructs the basic SQL statements for the supported database. There really was not a huge difference, but enought that I seen this object was necessary.

  • Check out documentation for Profound.js Data API

  • Soon we will have our DataArea API's, when working against a non IBMi db, use SQL as well. Customer code will not have to change, they will, however, need to "transfer" the data from the ibmi object to that other db with our tool.

  • Some things not "yet" being supported
    • Record locking
    • Multiple inserts within a single statements

Be the first to comment:      

Comments

Write Preview Markdown: bold italic code link
Post

Filters:

Popular Recent

A demo of how to build, test and document APIs

4052

0

0

6393

0

0

CRUD Application with Detail Edit Screen

3735

0

0

fdsfdsaf a

2429

0

0

fdsafdsa

2402

0

0

fd fdsa fdsa fdsa

2294

0

0

Testing node.js

2086

0

0

This space shows you how to run multiple queries simultaneously by using Promise.all().

5265

0

0

Some sample APIs

3240

0

0

This workspace shows an example of Profound API and consuming of the API within a Vue datatable

4379

0

0

A demo of how to build and consume Web Services with and without parameters

7343

0

0

Demo program CLAIM03R modified to run in NodeRun

7682

0

0