First page Back Continue Last page Overview Graphics
Creating functions
Procedure defined in perldoc DBD::SQLite
- $dbh->func( 'now', 0, sub { return time }, 'create_function' );
- Notice 'func' here means 'support for weird extensions in YourSpecialDatabase, not 'function'
- Needs the database handle, $dbh
- A DBI concept
- Not exposed in dbish
- Hence the interest in finding $dbh in DBI::Shell implementation
Notes: