Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dbplus_find(3) [php man page]

DBPLUS_FIND(3)								 1							    DBPLUS_FIND(3)

dbplus_find - Set a constraint on a relation

SYNOPSIS
int dbplus_find (resource $relation, array $constraints, mixed $tuple) DESCRIPTION
Places a constraint on the given $relation. Further calls to functions like dbplus_curr(3) or dbplus_next(3) will only return tuples matching the given constraints. PARAMETERS
o $relation - A relation opened by dbplus_open(3). o $constraints - Constraints are triplets of strings containing of a domain name, a comparison operator and a comparison value. The $constraints parameter array may consist of a collection of string arrays, each of which contains a domain, an operator and a value, or of a single string array containing a multiple of three elements. The comparison operator may be one of the following strings: '==', '>', '>=', '<', '<=', '!=', '~' for a regular expression match and 'BAND' or 'BOR' for bitwise operations. o $tuple - RETURN VALUES
NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. SEE ALSO
dbplus_unselect(3). PHP Documentation Group DBPLUS_FIND(3)

Check Out this Related Man Page

DBPLUS_RCREATE(3)							 1							 DBPLUS_RCREATE(3)

dbplus_rcreate - Creates a new DB++ relation

SYNOPSIS
resource dbplus_rcreate (string $name, mixed $domlist, [bool $overwrite]) DESCRIPTION
Creates a new relation. Any existing relation sharing the same $name will be overwritten if the relation is currently not in use and $overwrite is set to TRUE. PARAMETERS
o $name - o $domlist - A combination of domains. May be passed as a single domain name string or as an array of domain names. This parameter should contain the domain specification for the new relation within an array of domain description strings. A domain description string consists of a domain name unique to this relation, a slash and a type specification character. See the db++ documentation, espe- cially the dbcreate(1) manpage, for a description of available type specifiers and their meanings. Note This function will also accept a string with space delimited domain description strings, but it is recommended to use an array o $overwrite - RETURN VALUES
NOTES
Warning This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. PHP Documentation Group DBPLUS_RCREATE(3)
Man Page

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

string comparison

Hello experts, (tcsh shell) Quite new to shell scripting... I have got a file with a single word on each line. Want to be able to make a comparison such that i can read pairs of words that are ROT13 to each other. Also, i would like to print the pairs to another file. Any help... (5 Replies)
Discussion started by: Jatsui
5 Replies

2. UNIX for Dummies Questions & Answers

Help with array comparison

I have an array @name with the below contents (index 7 and 8 are names): 1|1|2|2|I|2|0|DUNN|LACY|||||| 2|2|2|2|I|2|0|KOFE|ROGER|||||| 3|3|2|2|A|2|0|KOFOED|ROBERT|||||| 3|4|2|2|A|2|0|KOFOED|ROBERT|||||| 3|5|2|2|A|2|0|KOFOED|ROBERT|||||| 2|7|2|2|I|2|0|WILLIAMSON|JAMES||||||... (4 Replies)
Discussion started by: ChicagoBlues
4 Replies

3. AIX

Sizing p7 systems

Hi, I am currently given the dubious task ;) to make an assumption on sizing our current p5 environment in relation to new p7 machines. Is there any kind of a vague factor how to calculate this? I found some official IBM benchmark results with long lists of different Power machines and their... (9 Replies)
Discussion started by: zaxxon
9 Replies

4. Shell Programming and Scripting

Matching part of a string that is in an array

I am trying to do a comparison to see if these two string arrays match. I have tried assigning the array variable to another variable to get it to work but i can't figure it out. Here is what I have. #example of items that could be in the array #string="TEST"... (3 Replies)
Discussion started by: zatarra777
3 Replies

5. Homework & Coursework Questions

passing letters from an array into a string for string comparison

attempting the hangman program. This was an optional assignment from the professor. I have completed the logical coding, debugging now. ##I have an array $wordString that initializes to a string of dashes ##reflecting the number of letters in $theWord ##every time the user enters a (valid)... (5 Replies)
Discussion started by: lotsofideas
5 Replies

6. Emergency UNIX and Linux Support

Best AV for Itanium IA64 (Windows 2000, 2003, NT)

Hi there I am hoping for a quick response to this one, because we're in a tight spot right now where the Itaniums we have don't support McAfee to run on Windows server setup on our Itanium machine. Does anyone have any idea (perhaps based on good experience themselves?) on what is a good AV that... (8 Replies)
Discussion started by: hedkandi
8 Replies