MCPcopy Create free account
hub / github.com/androrm/androrm / and

Method and

src/src/com/orm/androrm/Where.java:64–74  ·  view source on GitHub ↗

Attaches the given Statement as the right side of the AND statement. @param stmt Statement to attach. @return this for chaining.

(Statement stmt)

Source from the content-addressed store, hash-verified

62 * @return <code>this</code> for chaining.
63 */
64 public Where and(Statement stmt) {
65 mKeys.addAll(stmt.getKeys());
66
67 if(mStatement == null) {
68 mStatement = stmt;
69 } else {
70 mStatement = new AndStatement(mStatement, stmt);
71 }
72
73 return this;
74 }
75
76 /**
77 * See {@link Where#and(String, String)}.

Callers 6

testSimpleConstraintMethod · 0.95
testAddAndMethod · 0.95
testHasConstraintMethod · 0.95
deleteMethod · 0.95
saveMethod · 0.95
saveM2MToDatabaseMethod · 0.95

Calls 2

addAllMethod · 0.65
getKeysMethod · 0.45

Tested by 3

testSimpleConstraintMethod · 0.76
testAddAndMethod · 0.76
testHasConstraintMethod · 0.76