About This Space

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


Last updated on April 6, 2020

Forked from: /scotroach/pjs-orm/

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.dataapi object. The dataapi object constructs the basic SQL statements for the supported database. There really is not a whole lot difference, but enought that I seen this object was necessary.

  • Check out documentation for profound.util.dataapi

  • 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

Quick To Do List App

3022

0

0

test fibers

2948

0

0

Vue.js using Rich Display Components built in the Visual Designer

3127

0

0

Vue.js using Rich Display Components built in the Visual Designer

3080

0

0

Vue.js using Rich Display Components built in the Visual Designer

3031

0

0

This workspace implements Watson Visual Recognition. The application uses your device camera to take your photo, determine how old you look, and tell you all about it using human speech though the speakers on your device.

3064

0

0

This workspace deploys a custom server

2213

0

0

Empty template with the basics set up for a quick display.

2992

0

0