class Schema::Definition::EmptyIndexForNonScalarArrayParamError
- Schema::Definition::EmptyIndexForNonScalarArrayParamError
- Schema::Definition::Error
- Exception
- Reference
- Object
Overview
Raised when a non-scalar type has a empty ("[]"
) index in the query.
Complex (i.e. non-scalar) objects require explicit numeration for their instances, e.g.
if foo
is Array(NestedParams(a : Int32, b : Int32))
, then foo[][a]=1&foo[][b]=2
makes no sense, because it's not clear whether is it the same object.