You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromhaystack.queryimportSearchQuerySet# Uses the routers' opinion.sqs=SearchQuerySet().auto_query('banana')
# Forces the default.sqs=SearchQuerySet().using('default').auto_query('banana')
# Forces the slave connection (presuming it was setup).sqs=SearchQuerySet().using('slave').auto_query('banana')
But I use drf-haystack.
The text was updated successfully, but these errors were encountered:
drf-haystack query result always use
default
connection, The question is how to useexample
for query?This haystack doc could use connection you want.
But I use drf-haystack.
The text was updated successfully, but these errors were encountered: