Scalar

Noun · Development

Definitions

  1. A single, indivisible value as opposed to a compound data structure like an array, object, or tuple. In databases, scalar types include integers, floats, strings, and booleans; a scalar function returns one value per input row rather than a table.

    In plain English: A single, simple value like a number or a piece of text, as opposed to a collection of values.

    Example: "The GraphQL schema defines price as a custom scalar type that validates and serializes decimal currency values."

Related Terms