Prev | Current Page 550 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

close();
}
}
This produces much the same result as iterating through the ResultSet . However, the array conversion
does provide the facility to choose individual records at your leisure while not compromising on the
content and structure.
The Length Property
The length property of the ResultSet class is a nifty way to find out how many records were returned
in a select query. While not as useful as it could be, thanks to iterators, the data can still come in handy
on occasion. The length property truly comes into its own, however, when used with an update query.
As previously noted, all successful executions of the request method return a valid ResultSet object,
whether it contains records or not. The difference is, if the query executed by the request method is that
of an update query, then the length property of the returned ResultSet contains the number of records
updated in that request.
Using the SPOD System
The SPOD system, or Simple Persistent Objects Database system, is a framework extending the
capabilities of the aforementioned database support.


Pages:
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562