mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
grammar: Add stub for the trigger class
This commit is contained in:
@@ -79,6 +79,9 @@ ObjectPtr Object::parseSQL(Object::Types type, const QString& sSQL)
|
||||
case Object::Types::View:
|
||||
result = View::parseSQL(sSQL);
|
||||
break;
|
||||
case Object::Types::Trigger:
|
||||
result = Trigger::parseSQL(sSQL);
|
||||
break;
|
||||
default:
|
||||
return ObjectPtr(nullptr);
|
||||
}
|
||||
@@ -1191,4 +1194,13 @@ FieldInfoList View::fieldInformation() const
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ObjectPtr Trigger::parseSQL(const QString& /*sSQL*/)
|
||||
{
|
||||
// TODO
|
||||
|
||||
return TriggerPtr(new Trigger(""));
|
||||
}
|
||||
|
||||
} //namespace sqlb
|
||||
|
||||
Reference in New Issue
Block a user