[shared] promise provider 'query'