struct edwFastqFile *edwFastqFileFromFileId(struct sqlConnection *conn, long long fileId) /* Get edwFastqFile with given fileId or NULL if none such */ { char query[256]; sqlSafef(query, sizeof(query), "select * from edwFastqFile where fileId=%lld", fileId); return edwFastqFileLoadByQuery(conn, query); }
struct edwFastqFile *edwFastqFileForFileId(struct sqlConnection *conn, long long fileId) /* Return edwFastqFile associated with given file ID or NULL if none exist. */ { char query[128]; sqlSafef(query, sizeof(query), "select * from edwFastqFile where fileId=%lld", fileId); return edwFastqFileLoadByQuery(conn, query); }