graphql-python / graphql-python/graphene-sqlalchemy
All columns are selected by default?
- Linguagem predominante
- Python
- Estrelas
- 985
- Forks
- 223
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
When I print out the raw sql command, I found that all columns are selected. Does it make sense?
I think only those specified from the frontend should be included. The following command is how I get the raw sql.
`print(query.statement.compile(compile_kwargs={"literal_binds": True}))`
Thanks.
Guia de contribuição
Direção de pesquisa
Start with the GraphQL-to-SQLAlchemy query construction that produces the statement shown by query.statement.compile(compile_kwargs={"literal_binds": True}). Trace how frontend-selected fields are represented and determine whether unrequested columns can be excluded. Done means the generated SQL selects only requested fields, with a regression test covering that behavior.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- graphql, python, sqlalchemy
- Domínio
- api, databases
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100