ndll makes this example a bit pointless, but you ??™ ll appreciate the point being made.
Working with Databases
One aspect, among many, that we love about Neko is its ability to work with databases in a very simple
way. Supporting all manner of queries offered by the databases themselves, the haXe database
framework provides more than enough to satisfy all your relational information needs.
Each of the databases currently supported by the Neko standard libraries provide the same array of
functions for each, so, aside from the usual T/SQL variations, you can access and modify each database
type with no necessary code alterations. This means that any application you create for distribution can
literally support numerous database types without the intervention of dark magic (as often performed
by one of our database savvy colleagues).
At the time of this writing, the Neko platform only provides support for four types of database API. The
MySQL and SQLite libraries come with the Neko distribution, while the PostgreSQL wrapper and
ODBC driver, developed by Lee McColl Sylvester, fully supports the Neko/haXe SPOD system and is
available for download at www.
Pages:
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535