Sponsored Content
The Lounge What is on Your Mind? New Feature: Tagging Threads as "Solved" Post 302896437 by Akshay Hegde on Monday 7th of April 2014 02:38:53 PM
Old 04-07-2014
I agree with both of you, perception varies from person to person, but as CarloM said, its fairly bright even for me, we shall wait for others comments..
 

8 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

vBulletin Exclude Forums from "Get New Posts" Feature

First I would like to say you run an awesome site. I use it pretty much everyday... I am a member of a local Jeep Club Virtual Jeep Club - Powered by vBulletin and we run vBulletin Version 3.7.0. You have a feature we would like to add. In "User CP" -> "Edit Options" you have: Exclude... (3 Replies)
Discussion started by: Ikon
3 Replies

2. IP Networking

Which release version of Solaris 10 have "snoop -I" feature

In one of Sun docs I found that a new option, -I, is added to the snoop command.This option specifies for the command to use the new IP layer devices instead of the underlying link-layer device to display traffic data. it is used to enhance IP observability. But in Solaris 10 with release verstion... (0 Replies)
Discussion started by: anando.1980
0 Replies

3. Programming

Looking for a "Select All" feature in TCL

I hope thi sis simple... I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes be a "select all" and select/deselect all of the other boxes? Can you show me a mini-sample? Thanks... Scott E. (0 Replies)
Discussion started by: scottwevans
0 Replies

4. Programming

Need a "select all" feature in TCL

I hope this is simple... (I tried looking for help in the Shell Programming and Scripting thread, but got no responses.) I have a TCL script which has several checkboxes. Is there a way to have one of the checkboxes serve as a "select all" and select/deselect all of the other boxes? Can you... (1 Reply)
Discussion started by: scottwevans
1 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. Red Hat

to disable "out off office" feature on QMAIL.

How can I disable out of office feature on qmail. We don't want to be use this feature by users. Especially our boss doesn't want because clients have smartphone so they can answer from everywhere! (0 Replies)
Discussion started by: getrue
0 Replies

7. Post Here to Contact Site Administrators and Moderators

Marking threads as "solved"

perhaps offtopic.. pity this forum don't have an option 'mark this thread as solved' like some others do.. (2 Replies)
Discussion started by: orange47
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
Tangram::Expr(3pm)					User Contributed Perl Documentation					Tangram::Expr(3pm)

NAME
Tangram::Expr - represent expressions on database server side SYNOPSIS
my ($r1, $r2) = $storage->remote(qw( ... )); $r1->{field} operator $value $r1->{field} operator $r2->{field2} $r1->{collection}->includes( $obj ) $r1->{collection}->exists( $obj, $filter ) $r1->{collection}->includes_or( $obj1, $obj2, ... ) DESCRIPTION
Tangram::Expr objects represent expressions that will be evaluated on the database server side. Expression objects fall into one of the following categories: numeric, string, reference or collection. Many of the methods in Expr are needed only by people extending Tangram. See also Tangram::Relational, and the source the Tangram::mysql and Tangram::Sybase for examples on how these functions are intercepted to allow RDBMS-specific expressions. NUMERIC EXPRESSIONS
Numeric expression objects can be compared using the operators ==, !=, <, >, <= and >=. The other operand must be either another numeric expression object, or a normal Perl numeric value. The result of the comparison is a Filter. STRING EXPRESSIONS
String expression objects can be compared using the operators eq, ne, lt, gt, le, and ge. The other operand must be either a string expression object or any Perl scalar value. Tangram will automatically quote the operand as required by the SQL syntax. The result of the comparison is a Tangram::Expr::Filter. String expression objects also support the method like($str), where $str is a string that may contain SQL wildcards. The result is a Tan- gram::Expr::Filter that translates to a SQL "LIKE $str" predicate. REFERENCE EXPRESSIONS
Reference expression objects can be compared for equality using operators == and !=. The other operand must be another reference expres- sion, a persistent object or undef(). The result of the comparison is a Filter. COLLECTION EXPRESSIONS
Collection expression objects represents a collection inside an object. It supports the includes() and exists() methods, which returns a Tangram::Expr::Filter stating that the collection must contain the operand. exists() uses a subselect. It also supports the includes_or() methods, which accepts a list and is performs a logical OR - using the IN (x,y,z) SQL construct. The operand may be a Tangram::Remote, a persistent object, or an object ID. operator < is provided as a synonym for includes(). The includes() method can be used for all collection types (Set, Array, Hash, and the Intr* versions). PREDICATES
Predicate objects represent logical expressions, or conditions. Predicates support logical operators &, | and !. Note that a single amper- sand or vertical bar must be used (this is a Perl limitation). The result is another predicate. CLASS METHODS
new($type, $expr, @remotes) Returns a new instance. $type is a Type object corresponding to this expression (see Tangram::Type). $expr is a SQL expression. It will eventually become part of a WHERE-CLAUSE. @remotes contains the Remote objects (see Tangram::Remote) that participate in the expression. Tangram uses this list to insert the corre- sponding tables in the FROM clause and conditions in the WHERE-CLAUSE. INSTANCE METHODS
expr() Returns the SQL equivalent for this expression. type() Returns the Type (see Tangram::Type) corresponding to this expression. objects() Returns the list of the objects that participate in this expression. storage() Returns the Storage associated with this expression. EXAMPLES
$person is called 'Homer' $person->{name} eq 'Homer' $person's name ends with 'mer' $person->{name}->like('%mer'); $person is older than 35 $person->{age} > 35 $person is married to $homer $person->{partner} == $homer $person is not $homer $person != $homer $person is not $homer and is older than 65 $person != $homer & $person->{age} > 65 $person is $bart's parent $person->{children}->includes( $bart ) $person->{children} < $bart $person is not $bart's parent !$person->{children}->includes( $bart ) !($person->{children} < $bart) $person is one of the local list of people, @person $person->in(@person) SEE ALSO
Tangram::Remote, Tangram::Expr, Tangram::Storage perl v5.8.8 2006-03-29 Tangram::Expr(3pm)
All times are GMT -4. The time now is 09:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy