Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Dec 11, 2024
1 parent 0e8d801 commit c7576cd
Show file tree
Hide file tree
Showing 9 changed files with 364 additions and 436 deletions.
1 change: 0 additions & 1 deletion docs/reference/protocol/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ clients and servers. The protocol is supported over TCP/IP.
messages
errors
typedesc
typedesc_1_0
dataformats


Expand Down
29 changes: 29 additions & 0 deletions docs/reference/protocol/typedesc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -539,3 +539,32 @@ Type Annotation Text Descriptor
// Annotation value.
string value;
};
SQL Record Descriptor
=====================

.. code-block:: c
struct SQLRecordDescriptor {
// Indicates that this is an
// Object Shape descriptor.
uint8 tag = 13;
// Descriptor ID.
uuid id;
// Number of elements in record.
uint16 element_count;
// Array of shape elements.
SQLRecordElement elements[element_count];
};
struct SQLRecordElement {
// Element name.
string name;
// Element type descriptor index.
uint16 type;
};
Loading

0 comments on commit c7576cd

Please sign in to comment.