Node.js Code Samples (SAP HANA): Unterschied zwischen den Versionen
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 3: | Zeile 3: | ||
For basics knowledge on JavaScript language itself see [[JavaScript Basics]] | For basics knowledge on JavaScript language itself see [[JavaScript Basics]] | ||
== Basics | == Language Basics on XSJS Runtime == | ||
String: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-strings.xsjs | String: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-strings.xsjs | ||
Zeile 17: | Zeile 17: | ||
Classes: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-classes.xsjs | Classes: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-classes.xsjs | ||
== Basics | == Language Basics on Node.js Runtime == | ||
The listings are basically the same as for XSJS but they are implemented to be run on Node.js / XSA : | The listings are basically the same as for XSJS but they are implemented to be run on Node.js / XSA : |
Version vom 9. November 2020, 12:49 Uhr
This entry contains SAP HANA specific code listings which can be executed in either XSJS or Node.js runtime within XS Advanced environment.
For basics knowledge on JavaScript language itself see JavaScript Basics
Language Basics on XSJS Runtime
String: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-strings.xsjs
Datum: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-dates.xsjs
Arrays: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-arrays.xsjs
JSON-Output: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-json.xsjs
Objects: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-objects.xsjs
Classes: https://github.com/mattxdev/openSAPHANA/blob/master/xsjs/lib/xsjs/JavaScriptBasics/my-classes.xsjs
Language Basics on Node.js Runtime
The listings are basically the same as for XSJS but they are implemented to be run on Node.js / XSA :