Support static query and sql interpolation API