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', |
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 => |
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 |
}; |
}; |