type of query fixed for ddb
sqlite default rdonly fixed