query record stub