Showing: 4 RESULTS
Data Database

🖥️ Marklogic Tutorial

Marklogic Documents Add Documents Using Javascript: From Files declareUpdate(); // Mandatory to edit resources in MArklogic xdmp.documentLoad(“path/file.json”); // Keep Uri as path/file.json xdmp.documentLoad(“path/file.json”, {“uri”: “NewUriPath”}); // Change Uri to NewUriPath /*Load Bulk documents*/ const pathToDocs = “/home/Docs”; const docResults = xdmp.filesystemDirectory(pathYoDocs); docResults.forEach(fucntion(doc){ xdmp.documentLoad(doc.pathname, {“uri”:”/patents/”+doc.filename})}); Using Javascript: Document created in memory ( form, response to api, …

Code Data Data Engineering Database Security

🔑 Understanding ABAC vs. RBAC with Code Examples

ABAC : Attribute-Based Access Control RBAC : Role-Based Access Control Access control is a crucial aspect of security in software applications. Two popular models for implementing access control are Attribute-Based Access Control (ABAC) and Role-Based Access Control (RBAC). In this tutorial, we’ll delve into the concepts of ABAC and RBAC, and provide code examples to …

Data Database

📦 Marklogic

Marklogic For a recap on what-is-marklogic-server, see this article. Documents Add Documents Using Javascript: From Files ‘use strict’; declareUpdate(); // Mandatory to edit resources in MArklogic xdmp.documentLoad(“path/file.json”); // Keep Uri as path/file.json xdmp.documentLoad(“path/file.json”, {‘uri’: ‘NewUriPath’}); // Change Uri to NewUriPath /*Load Bulk documents*/ const pathToDocs = ‘/home/Docs’; const docResults = xdmp.filesystemDirectory(pathYoDocs); docResults.forEach(fucntion(doc){ xdmp.documentLoad(doc.pathname, {‘uri’:’/patents/’+doc.filename})}); Using …

Data Database

📦 What is MarkLogic Server ?

MarkLogic is a database that served to retrieve different types and heterogenous data. The data representations that MarkLogic uses are text, binary, JSON and XML. MarkLogic Speed Terabytes of data can be stored in a MarkLogic Database. According to the documentation found here, MarkLogic is able to deliver data are sub-second response time. Studies show …