YSQL supports the JSONB data type which stores a parsed representation of a JavaScript Object Notation (JSON) document hierarchy of subvalues in an appropriate internal […]
Read MoreDiscover Data Types for Columns in a Result Set
After executing a query in YSQL it’s not obvious what are the underlying data types of the columns returned in the result […]
Read MoreComposite Data Types
A composite type represents the structure of a row or record; it is essentially just a list of field names and their data […]
Read MoreExtract Array Elements Into Rows
YugabyteDB allows columns of a table to be defined as variable-length multidimensional arrays. The UNNEST() function can be used later to expand […]
Read MoreGet an Estimated Table Row Count
To display an up to date “current” row count of a table, we can run the classic SELECT COUNT(*) statement. Example: yugabyte=# […]
Read More