enum SinkRole: string
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

What a matched database call does with the statement it is given.

Cases§

case Query = 'query'
case Compose = 'compose'
case Prepare = 'prepare'
case Execute = 'execute'
case Bind = 'bind'
case Modelled = 'modelled'

Methods§

public function returnsSql(): bool

Whether the call hands the statement text back rather than sending it.

Some interfaces interpolate a statement and return it for something else to run. Treating the interpolation as the statement's source, rather than as a call the analyzer cannot see through, is what keeps the statement readable where it is finally issued.

Returns

bool
Calls 1
public function carriesSql(): bool

Whether the call carries the statement text itself.

Returns

bool
Calls 6

Test cases 33§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 31

Relations§

Constant reads 51
Type declarations 1