faster datetime conversion using native MySQL Interface
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I am using the Native MySQLInterface to retrieve data from a database.
One of the columns has datetime data and the native interface recognises and retrieves it correctly, returning a variable of 'datetime' class.
however when i run the code profiler I am spending a lot of time in the function "convertToNativeTypes"
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/592075/image.jpeg)
The functions within this taking the time are within the datetime function guessFormat and tryOneFmt.
I was wondering if there is a way of specifying the expected format so as to speed the up the datetime conversion within the fetch command?
thanks
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Database Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!