Ostico / PhpOrient

PhpOrient - Official Php driver based on the binary protocol of OrientDB.
Other
68 stars 37 forks source link

[Question] OutOfBoundsException in Record::offsetGet() #38

Closed andreyvk closed 7 years ago

andreyvk commented 9 years ago

Hi @Ostico,

Why is it necessary to trigger an exception in Record::offsetGet() and not just returnnull by default? In case if this behavior is necessary, is it possible to add an option to the client that allows suppressing OutOfBoundsException for unknown record indices?

Ostico commented 7 years ago

@andreyvk , accepdet. I removed the OutOfBoundsException