Womb : Womb Namespace
Selector

An object to select rows from the database

public class Selector


Remarks
A selector is not constructed by the user: it is obtained by calling Womb.DB.GetSelector(System.Type)
Members

See Also: Inherited members from object.

Methods
Select () : ArrayList
Select rows from the database
Select (string) : ArrayList
Select rows from database
Select (string, object) : ArrayList
Select rows from database
Select (string, object, string) : ArrayList
Select rows from database
Select (string[], object[], string) : ArrayList
Select rows from database
Select1 (string, object) : Atom
Select a single row from database
Select1 (string, object, string) : Atom
Select a single row from database
Select1 (string[], object[], string) : Atom
Select a single row from database
Member Details
Select
public ArrayList Select (string constraint)

Select rows from database

Parameters
constraint
Query constraint
Returns
A ArrayList which contains atoms that matched the criteria.
Remarks
To be added.

Select
public ArrayList Select ()

Select rows from the database

Returns
A ArrayList which contains atoms that matched the criteria.
Remarks
To be added.

Select
public ArrayList Select (string[] tags, object[] values, string sql)

Select rows from database

Parameters
tags
Array of tags to use as search criteria
values
Array of values to use for tags.
sql
Extra SQL code to pass in query
Returns
A ArrayList which contains atoms that matched the criteria.
Remarks
Use Womb.NotNull.Constraint as value to specify you want to match rows whose value for tag is not null.

Select
public ArrayList Select (string tag, object val, string sql)

Select rows from database

Parameters
tag
Name of tag to use as search key
val
Value of tag
sql
Extra SQL code to pass in query
Returns
A ArrayList which contains atoms that matched the criteria.
Remarks
Use Womb.NotNull.Constraint as value to specify you want to match rows whose value for tag is not null.

Select
public ArrayList Select (string tag, object val)

Select rows from database

Parameters
tag
Name of tag to use as search key
val
Value of tag
Returns
A ArrayList which contains atoms that matched the criteria.
Remarks
Use Womb.NotNull.Constraint as value to specify you want to match rows whose value for tag is not null.

Select1
public Atom Select1 (string[] tags, object[] vals, string sql)

Select a single row from database

Parameters
tags
To be added.
vals
To be added.
sql
To be added.
Returns
An atom, or null
Remarks
Use Womb.NotNull.Constraint as value to specify you want to match rows whose value for tag is not null.

Select1
public Atom Select1 (string tag, object val)

Select a single row from database

Parameters
tag
To be added.
val
To be added.
Returns
An atom, or null
Remarks
Use Womb.NotNull.Constraint as value to specify you want to match rows whose value for tag is not null.

Select1
public Atom Select1 (string tag, object val, string sql)

Select a single row from database

Parameters
tag
To be added.
val
To be added.
sql
To be added.
Returns
An atom, or null
Remarks
Use Womb.NotNull.Constraint as value to specify you want to match rows whose value for tag is not null.