JsonExtensions extension
Defines extensions on string expressions to support the json1 api from Dart.
- on
Methods
-
json(
) → Expression< String> -
Available on Expression<
ReadsString> , provided by the JsonExtensions extensionthis
expression as a JSON structure and outputs the JSON in a minified format. -
jsonArrayLength(
[String? path]) → Expression< int> -
Available on Expression<
Assuming that this string is a json array, returns the length of this json array.String> , provided by the JsonExtensions extension -
jsonb(
) → Expression< Uint8List> -
Available on Expression<
ReadsString> , provided by the JsonExtensions extensionthis
expression as a JSON structure and outputs the JSON in a binary format internal to sqlite3. -
jsonEach(
DatabaseConnectionUser database, [String? path]) → JsonTableFunction -
Available on Expression<
Calls theString> , provided by the JsonExtensions extensionjson_each
table-valued function onthis
string, optionally usingpath
as the root path. -
jsonExtract<
T extends Object> (String path) → Expression< T> -
Available on Expression<
Assuming that this string is a json object or array, extracts a part of this structure identified byString> , provided by the JsonExtensions extensionpath
. -
jsonTree(
DatabaseConnectionUser database, [String? path]) → JsonTableFunction -
Available on Expression<
Calls theString> , provided by the JsonExtensions extensionjson_tree
table-valued function onthis
string, optionally usingpath
as the root path.