22#include <osl/diagnose.h>
30 OUString sStmt = _sInsertStatement.toAsciiUpperCase();
31 if ( sStmt.startsWith(
"INSERT") )
33 static const char sTable[] =
"$table";
35 if ( nColumnIndex>=0 )
41 sal_Int32 nIntoIndex = sStmt.indexOf(
"INTO ") + 5;
42 while (nIntoIndex<sStmt.getLength() && sStmt[nIntoIndex]==
' ') ++nIntoIndex;
43 const std::u16string_view sTableName =
o3tl::getToken(sStmt, 0,
' ', nIntoIndex);
bool m_bAutoRetrievingEnabled
OUString m_sGeneratedValueStatement
OUString getTransformedGeneratedStatement(const OUString &_sInsertStatement) const
transform the statement to query for auto generated values
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)