Discussion1: What does mandatory/required variable in a query mean?
2010-08-27 16:08
489 查看
Topic: What does mandatory or required variable in a query mean?
QA: It means user has to input something for this variable. If no input, user could not go to next, or the Run/Next button is supposed to display disabled.
Developer: No, it should allow user either input or no input. If input any value, the value will be used. If no any value input, null will be used. Query will be run with it as empty value or no value.
QA: What is it different from Optional field for user?
Developer: Optional field will be skipped in the logic layer if it is empty. That is totallyl different with mandatory with null. It means logic layer always uses it as a query condition.
Note: This might not be a typical example to address the different mindset between QA and developer. But it tells me something of the reason why user and development could not be in the same line without communicating. I'd like to collect as many as this tiny disscussion, to helps extend my mind.
QA: It means user has to input something for this variable. If no input, user could not go to next, or the Run/Next button is supposed to display disabled.
Developer: No, it should allow user either input or no input. If input any value, the value will be used. If no any value input, null will be used. Query will be run with it as empty value or no value.
QA: What is it different from Optional field for user?
Developer: Optional field will be skipped in the logic layer if it is empty. That is totallyl different with mandatory with null. It means logic layer always uses it as a query condition.
Note: This might not be a typical example to address the different mindset between QA and developer. But it tells me something of the reason why user and development could not be in the same line without communicating. I'd like to collect as many as this tiny disscussion, to helps extend my mind.
相关文章推荐
- What does => and () => mean in Scala
- __memcpy_sse2_unaligned - what does this mean in detail?
- what does the three dots in “doInBackground(URL… urls)” mean?
- What does "Rxlch" mean in ENCODE?
- What does information_schema.TABLES.DATA_FREE mean in MySQL?
- What does [SimpleType] and [Compact] in bindings mean?
- What does idl attribute mean in the W3C html5 standard document?
- What does var that = this; mean in javascript?
- What does the distance attribute in DMatches mean?
- What does it mean to write `static void * ptr = &ptr` in objective-c?
- What does the [Flags] Enum Attribute mean in C#?
- In Javascript, what does this underscore mean?
- Build a Simple Program Using Boost in(std::cin) : What does it mean?
- What does “=>” mean in import in scala?(转自StackOverflow问答)
- What does it mean by Single-Leg & Multiple Leg in Stock Trading?
- What does "size" in int(size) of MySQL mean?
- (转载)What does (Aborted) mean in HttpWatch?
- What does the 11 mean in INT(11)?
- What does Using filesort mean in MySQL?
- What does a (+) sign mean in an Oracle SQL WHERE clause?