02-27-2002
killerserv
Perfectly!
Thank you very much for !
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know nothing of unix and didn't know where to start. I've heard of a DOS to Unix translator, and since I know DOS pretty well, I thought that this program would be perfect. Any help you could give me would be appreciated.
Bryan (1 Reply)
Discussion started by: bferguson
1 Replies
2. UNIX for Advanced & Expert Users
I was chatting with my teacher on how this could be a great tool for admins who are making the switch from GUI to CLI administration. I'm wondering, does this kind of tool exist? (4 Replies)
Discussion started by: Daemon-Killer
4 Replies
3. Programming
Any One help how to draw the flow chart for C programe ?
If any usefull link's. (1 Reply)
Discussion started by: sabari
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, newbie (non-techie) here.
I'm a business analyst for a software company in the Bay Area. A
project I just got assigned to involved researching for an enterprise
version of a XML translator that will run on UNIX. I'm looking for
something that won't be too costly to purchase as the... (4 Replies)
Discussion started by: Antsy
4 Replies
5. UNIX for Dummies Questions & Answers
Does there exist a unix program which takes as input a word (say in french) and returns its translation into another language (say english)?
Alternative questions:
1) Where is an appropriate place to post such a question?
2) Where is a good place to find interesting unix programs? (2 Replies)
Discussion started by: dmbster
2 Replies
6. Shell Programming and Scripting
hello, this is my first time here so i´m not sure if i´m posting in the rigth place.
i very bad on programming but i´ve a to submit a shell code in high school.
i need a shell script that translate words (english-portuguese and portuguese-english) using the comand wget and google translator.
... (1 Reply)
Discussion started by: cajuzinho
1 Replies
7. UNIX for Dummies Questions & Answers
I apologize if this has been posted before but I have been doing a lot of searching and I have not found any real answers, this is quite possibly due to that I may not be searching for the right terms or something. Little bit of info about my situation is that I'm a newbie as you probably guessed... (1 Reply)
Discussion started by: ummSomeNameHere
1 Replies
8. Shell Programming and Scripting
Hi,
Does anyone know of any permission bit "translator"? One that can translate the permission bit from its textual value to its octal value and vice versa. It is alright if it is always just rwx but on a lot of occasions nowadays, getting a lots of s, S, t, etc.
-rwxrwxrwx 1 oracle dba... (4 Replies)
Discussion started by: newbie_01
4 Replies
LEARN ABOUT MOJAVE
sql::translator::parser::dbix::class
SQL::Translator::Parser::DBIx::Class(3) User Contributed Perl Documentation SQL::Translator::Parser::DBIx::Class(3)
NAME
SQL::Translator::Parser::DBIx::Class - Create a SQL::Translator schema from a DBIx::Class::Schema instance
SYNOPSIS
## Via DBIx::Class
use MyApp::Schema;
my $schema = MyApp::Schema->connect("dbi:SQLite:something.db");
$schema->create_ddl_dir();
## or
$schema->deploy();
## Standalone
use MyApp::Schema;
use SQL::Translator;
my $schema = MyApp::Schema->connect;
my $trans = SQL::Translator->new (
parser => 'SQL::Translator::Parser::DBIx::Class',
parser_args => {
dbic_schema => $schema,
add_fk_index => 0,
sources => [qw/
Artist
CD
/],
},
producer => 'SQLite',
) or die SQL::Translator->error;
my $out = $trans->translate() or die $trans->error;
DESCRIPTION
This class requires SQL::Translator installed to work.
"SQL::Translator::Parser::DBIx::Class" reads a DBIx::Class schema, interrogates the columns, and stuffs it all in an $sqlt_schema object.
Its primary use is in deploying database layouts described as a set of DBIx::Class classes, to a database. To do this, see "deploy" in
DBIx::Class::Schema.
This can also be achieved by having DBIx::Class export the schema as a set of SQL files ready for import into your database, or passed to
other machines that need to have your application installed but don't have SQL::Translator installed. To do this see "create_ddl_dir" in
DBIx::Class::Schema.
PARSER OPTIONS
dbic_schema
The DBIx::Class schema (either an instance or a class name) to be parsed. This argument is in fact optional - instead one can supply it
later at translation time as an argument to "translate" in SQL::Translator. In other words both of the following invocations are valid and
will produce conceptually identical output:
my $yaml = SQL::Translator->new(
parser => 'SQL::Translator::Parser::DBIx::Class',
parser_args => {
dbic_schema => $schema,
},
producer => 'SQL::Translator::Producer::YAML',
)->translate;
my $yaml = SQL::Translator->new(
parser => 'SQL::Translator::Parser::DBIx::Class',
producer => 'SQL::Translator::Producer::YAML',
)->translate(data => $schema);
add_fk_index
Create an index for each foreign key. Enabled by default, as having indexed foreign key columns is normally the sensible thing to do.
sources
Arguments: @class_names
Limit the amount of parsed sources by supplying an explicit list of source names.
SEE ALSO
SQL::Translator, DBIx::Class::Schema
AUTHORS
See "CONTRIBUTORS" in DBIx::Class.
LICENSE
You may distribute this code under the same terms as Perl itself.
perl v5.18.2 2014-01-22 SQL::Translator::Parser::DBIx::Class(3)