7.6.2.1. Scalar column#
7.6.2.1.1. Summary#
Scalar column is a data store object.
It can store one scalar value per record. Scalar value is one of the following type values:
Bool
Int8
Int16
Int32
Int64
UInt8
UInt16
UInt32
UInt64
BFloat16
Float32
Float
Time
ShortText
Text
LongText
TokyoGeoPoint
WGS84GeoPoint
If you want to store zero or more values per record, you can use multiple scalar columns or one Vector column. If these values are related and use the same types such as tags (zero or more strings), Vector column is suitable. If these values aren’t related such as title and location, multiple scalar columns are suitable.
7.6.2.1.2. Usage#
See column_create how to create a column.
There are three scalar column types:
Normal scalar column
Reference scalar column
Generated scalar column
This section describes how to use these types.
7.6.2.1.2.1. Normal scalar column#
TODO
7.6.2.1.2.2. Reference scalar column#
TODO
7.6.2.1.2.3. Generated scalar column#
You can use a scalar column as a Generated column.
7.6.2.1.2.3.1. How to create#
See Create a generated column for details.