T_ObjectId_MongoDB

A data type that maps the database-specific "ObjectId" data type. It consists of 12 bytes with different meanings:

ObjectId at byte level

1

2

3

4

5

6

7

8

9

10

11

12

Timestamp

MachineId

ProcessId

Id

The function block FB_NoSQLObjecId_MongoDB is available for parsing out the individual elements.

Syntax

TYPE T_ObjectId_MongoDB : ARRAY[0..11] OF BYTE; 
END_TYPE

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v3.1 Build 4020.10

PC or CX (x86)

Tc3_Database