+There is also alternative way which can generate C<read> and C<update>
+queries on the fly:
+
+ my $mnt = Fuse::DBI->mount({
+ 'filenames' => 'select id,filename,size,writable from files',
+ 'read' => sub {
+ my ($path,$file) = @_;
+ return( 'select content from files where id = ?', $file->{row}->{id} );
+ },
+ 'update' => sub {
+ my ($path,$file) = @_;
+ return( 'update files set content = ? where id = ?', $file->{row}->{id} );
+ },
+ 'dsn' => 'DBI:Pg:dbname=test_db',
+ 'user' => 'database_user',
+ 'password' => 'database_password',
+ 'invalidate' => sub { ... },
+ });
+