get_query_result method

get_query_result(file_name, connection, query, field)

Returns query result.

def get_query_result(self, file_name: str, connection: str, query: str, field: aspose.words.fields.FieldDatabase):
    ...
ParameterTypeDescription
file_namestrThe complete path and file name of the database specified in the \d field switch.
connectionstrThe connection to the data specified in the \c field switch.
querystrThe set of SQL instructions that query the database specified in the \s field switch.
fieldFieldDatabaseThe field being updated.

Returns

The FieldDatabaseDataTable instance that should be used for the field’s update.

See Also