/[SQLSession]/trunk/lib/SQLSession/Model/Query.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/SQLSession/Model/Query.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 102 by dpavlin, Fri Feb 16 23:40:21 2007 UTC revision 106 by dpavlin, Thu Mar 15 12:43:55 2007 UTC
# Line 11  use SQLSession::Record schema { Line 11  use SQLSession::Record schema {
11          column name =>          column name =>
12                  type is 'text',                  type is 'text',
13                  label is 'Name of query',                  label is 'Name of query',
14                  distinct,                  is distinct,
15                  hints is 'Short name for this query',                  hints is 'Short name for this query',
16                  mandatory;                  is not_null;
17    
18          column sql_query =>          column sql_query =>
19                  type is 'text',                  type is 'text',
20                  label is 'SQL query',                  label is 'SQL query',
21                  mandatory,                  is not_null,
                 distinct,  
22                  hints is 'Use this area to enter SQL query',                  hints is 'Use this area to enter SQL query',
23                  render as 'textarea';                  render as 'textarea';
24                    
25          column on_database =>          column on_database =>
26                  refers_to SQLSession::Model::Database by 'id',                  refers_to SQLSession::Model::Database by 'id',
27                  label is 'on database',                  label is 'on database',
28                  mandatory;                  is not_null;
29                    
30          column note =>          column note =>
31                  type is 'text',                  type is 'text',
# Line 37  use SQLSession::Record schema { Line 36  use SQLSession::Record schema {
36          column visible =>          column visible =>
37                  type is 'boolean',                  type is 'boolean',
38                  default is 1,                  default is 1,
39                  indexed,                  is indexed,
40                  since '0.0.3';                  since '0.0.3';
41    
42          column owner =>          column owner =>
# Line 56  use SQLSession::Record schema { Line 55  use SQLSession::Record schema {
55          column parent =>          column parent =>
56                  refers_to SQLSession::Model::Query by 'id',                  refers_to SQLSession::Model::Query by 'id',
57                  label is 'Originator query',                  label is 'Originator query',
58                  indexed,                  is indexed,
59                  since '0.0.7';                  since '0.0.7';
60    
61  };  };

Legend:
Removed from v.102  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26