Archive / / / / / query.txt
2008-12-05 09:33:32 UTC
previous next
Expressions that contain subexpressions: expr1 AND expr2 => both expr1 and expr2 must be true expr1 expr2 => both expr1 and expr2 must be true expr1 OR expr2 => either expr1 or expr2 must be true NOT expr => expr must not be true -expr => expr must not be true Expressions that do not contain subexpressions: word => Any column must contain "word" "word word word" => Any column must contain "word word word" rating: >x => Rating must be greater than x rating: >=x => Rating must be greater than or equal to x artist: blah => Artist must contain blah album: blah => Album must contain blah a AND b AND c => a AND (b AND c) a AND b AND c AND d => a AND (b AND (c AND d)) a OR b AND c AND d => a OR (b AND (c AND d)) g ( d Echo.Query.Expression static Expression create_from_string(string str); bool evaluate_for_track(ITrack track); Echo.Query.AndExpression AndExpression(string left, string right) bool evaluate_for_track(ITrack track); Echo.Query.OrExpression OrExpression(string left, string right) bool evaluate_for_track(ITrack track); Echo.Query.NotExpression NotExpression(string str) bool evaluate_for_track(ITrack track); Echo.Query.RatingExpression RatingExpression(string Echo.Query.TextMatchExpression TextMatchExpression