We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache := "mycache"
if err = c.CacheCreateWithName(cache); err != nil { fmt.Println("CacheCreate error") } defer c.CacheDestroy(cache) // select data using QuerySQL r, err := c.QuerySQL(cache, false, ignite.QuerySQLData{ Table: "family", Query: "SELECT * FROM family", PageSize: 100, }) if err != nil { fmt.Println("Query err") fmt.Println(err) }
I see error like this: Query err [1] Failed to find SQL table for type: family
But I can use pqignite query successfully. from pyignite import Client
SELECT_STMT = '''SELECT * FROM family'''
client = Client() client.connect('127.0.0.1', 10800)
for query in [ SELECT_STMT ]: print(query) results = client.sql(query, include_field_names=True) next(results) for row in results: print(row)
client.close()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cache := "mycache"
I see error like this:
Query err
[1] Failed to find SQL table for type: family
But I can use pqignite query successfully.
from pyignite import Client
SELECT_STMT = '''SELECT * FROM family'''
client = Client()
client.connect('127.0.0.1', 10800)
for query in [ SELECT_STMT ]:
print(query)
results = client.sql(query, include_field_names=True)
next(results)
for row in results:
print(row)
client.close()
The text was updated successfully, but these errors were encountered: