package SQL::Translator::Producer::YAML;
# -------------------------------------------------------------------
-# $Id: YAML.pm,v 1.9 2004-03-09 19:19:49 kycl4rk Exp $
+# $Id: YAML.pm,v 1.10 2004-03-29 10:20:03 grommit Exp $
# -------------------------------------------------------------------
# Copyright (C) 2002-4 SQLFairy Authors
#
use strict;
use vars qw($VERSION);
-$VERSION = sprintf "%d.%02d", q$Revision: 1.9 $ =~ /(\d+)\.(\d+)/;
+$VERSION = sprintf "%d.%02d", q$Revision: 1.10 $ =~ /(\d+)\.(\d+)/;
use YAML qw(Dump);
return {
'deferrable' => scalar $constraint->deferrable,
'expression' => scalar $constraint->expression,
- 'fields' => scalar $constraint->fields,
+ 'fields' => scalar $constraint->field_names,
'match_type' => scalar $constraint->match_type,
'name' => scalar $constraint->name,
'options' => scalar $constraint->options,