I'm trying to build a dynamic query but I think I may have the wrong syntax.
String query = 'SELECT ProjectId__c from Project__c'
projectList = Database.query(query + ' WHERE Name__c equals 'pp2');
No error is thrown only there are no retrieved records. Also, can someone provide an example of adding multiple arguments to a dynamic query?