JsonArrayLiteral

Represents a JSON ARRAY as KQLiteJsonArray literal in a KQLite query.

This class is a specialized version of JsonLiteral for representing JSON arrays. It utilizes the SQLite JSON1 extension and stores the data as TEXT. This distinction allows for type-safe handling and targeted operations on JSON arrays using SQLite's JSON functions. The value should be a string representing a valid JSON array (e.g., "[1, \"apple\", true]").

Author

MOHAMMAD AZIM ANSARI

Parameters

value

The JSON array formatted as a String.

See also

Constructors

Link copied to clipboard
constructor(value: String)