Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

This is a basic description of code objects that handle data storage. The objects are defined by three main characteristics: Persistent Data functionality, Multi-Value functionality, and Sharable functionality.

...

Shareable functionality.

...

Characteristics

Persistent Data

Persistent Data means that you can stop your app or restart your Q-Server without loosing any data. If the object is not persistent it only stores data for you while the app is running. The Static String or Static Number have that behaviour for example.

Multi-Value

Multi-Value means that you can store more than one piece of data.

Shareable

Shareable means that you can access the same type of data by giving your objects the same name. This is for example very useful when working with Arrays.

...

Object Overview

Info

All Array related objects have the shareable functionality, which means you can refer to a specific array by giving the object the same name.

  • Array

  • Array Get

  • Array Iterate

  • Array Put

  • Array Size

Array Builder is creating an array therefore doesn’t have the shareable functionality at the moment.

...

Object

Persistent

Multi-Value

Shareable

Database

Status
colourGreen
titleYES

Status
colourGreen
titleYES

Status
colourGreen
titleYES

Persistent Value

Status
colourGreen
titleYES

Status
colourRed
titleNO

Status
colourGreen
titleYES

Array

Status
colourRed
titleNO

Status
colourGreen
titleYES

Status
colourGreen
titleYES

Data Container

Shareable Value

Status
colourRed
titleNO

Status
colourRed
titleNO

Status
colourGreen
titleYES

Static Number

Status
colourRed
titleNO

Status
colourRed
titleNO

Status
colourRed
titleNO

Static String

Status
colourRed
titleno

Status
colourRed
titleNO

Status
colourRed
titleNO