SqlJsonExtract.std constructor

SqlJsonExtract.std([
  1. String subpath = ""
])

Composes and wraps a json_extract function call for standardDataPath.

Implementation

SqlJsonExtract.std([String subpath = ""])
  : super(
      SqlF("json_extract", [
        SqlI(columnValue),
        SqlL(standardDataPath + (subpath.isEmpty ? "" : ".$subpath")),
      ]).str,
    );