Hello all,
Using the example from the DocDB documentation below, is there a way to create a property and form a predicate that would be able to find a document where the phone number is a cell number and the number is "401-123-4567"?
A document-oriented database, or document store, is a computer program designed for storing, retrieving and managing document-oriented information, also known as semi-structured data.
Hello all,
Using the example from the DocDB documentation below, is there a way to create a property and form a predicate that would be able to find a document where the phone number is a cell number and the number is "401-123-4567"?
Hello all,
I'm "playing" a little bit with IRIS as document database, as it seems really simple to use.
So far, creating a database and inserting documents is fine. Creating a Property so it can be indexed seems very useful and it works well when this property is created at the very beginning. But here my "problem": whenever a new property is added, how can the values be recalculated and inserted, so indices can be correctly updated?
So far, I've only found as a solution opening and saving the documents :'( This is ok for a POC, but what when millions of documents are stored?
hello, I had build a DocDB referring the code from here: https://community.intersystems.com/post/how-can-i-create-properties-doc…
Here are the structure of the json Documents I have added in my database called 'Orders'.
I have an application with maps that render and edit geographic data in a some layers using KML - geo data represented into XML file with layers, polygnons, points and metadata associated with it. Some maps are in GeoJSON too.
Is it DocDB the better option?
Hello everyone,
i want to create an iris document database with Atelier with some properties, where i can import my JSON formatted data from an API to the database which i created. Right now i know how to import my local JSON formatted data to my created database:
Class User.Classtest
{
ClassMethod getFile() as %Status
{
set filename = "/home/student/Downloads/own_scrobble.json"
IF $SYSTEM.DocDB.Exists("db.Streamingdatabase") {
SET db = ##class(%DocDB.Database).%GetDatabase("db.
Hello,
I have imported my data with the following code (%DocDB).
set filename = "/home/student/Dokumente/convertcsv.json"
IF $SYSTEM.DocDB.Exists("Fitabase1") {
SET db = ##class(%DocDB.Database).%GetDatabase("Fitabase1")
}
ELSE {
SET db = ##class(%DocDB.Database).%CreateDatabase("Fitabase1")
}
set arr = ##class(%DynamicAbstractObject).%FromJSON(filename)
SET jstring = arr.%ToJSON()
//SET doccount = db.%Size()
DO db.
Does anybody know how can I get the DocumentId property from a DocDM repository using SQL?. So far my SQL is like this:
SELECT name,email,gender FROM JSON_TABLE(
'person',
'$' COLUMNS(
name VARCHAR(100) PATH '$.name',
email VARCHAR(100) PATH '$.email',
gender VARCHAR(2) PATH '$.gender'
)
)
Thanks!
I was trying to modify the REST.DocServer sample in the SAMPLE namespaces to use the new %Object and %Array system objects (Ensemble 2016.2 build 636) with the following changes:
/// This method returns a list of namespaces for this server
ClassMethod GetNamespaces() As %Status
{
#dim tSC As %Status = $$$OK
#dim tList,tNS,tFilteredList,tValue As %String
#; Get the list of namespaces
Do List^%SYS.NAMESPACE(.