VIEW exists

view exists index ?arg ...?

This command tests whether index indicates an existing row in view. Any number of additional arg arguments are apparently permitted (a bug?), but are completely ignored.

Returns 1 if index indicates an existing row in view. Returns 0 otherwise. This command never raises an error.

Note that [view exists end] returns 1 for any non-empty view.

DGP