package SQL::Translator::Producer::YAML;
# -------------------------------------------------------------------
-# $Id: YAML.pm,v 1.8 2004-02-09 23:02:17 kycl4rk Exp $
+# $Id: YAML.pm,v 1.9 2004-03-09 19:19:49 kycl4rk Exp $
# -------------------------------------------------------------------
# Copyright (C) 2002-4 SQLFairy Authors
#
use strict;
use vars qw($VERSION);
-$VERSION = sprintf "%d.%02d", q$Revision: 1.8 $ =~ /(\d+)\.(\d+)/;
+$VERSION = sprintf "%d.%02d", q$Revision: 1.9 $ =~ /(\d+)\.(\d+)/;
use YAML qw(Dump);
map { ($_->name => view_procedure($_)) }
$schema->get_procedures,
},
+ },
+ translator => {
+ add_drop_table => $translator->add_drop_table,
+ filename => $translator->filename,
+ no_comments => $translator->no_comments,
+ parser_args => $translator->parser_args,
+ producer_args => $translator->producer_args,
+ parser_type => $translator->parser_type,
+ producer_type => $translator->producer_type,
+ show_warnings => $translator->show_warnings,
+ trace => $translator->trace,
+ version => $translator->version,
}
});
}