Method BuildSyncTriggerSql
BuildSyncTriggerSql(string, string, IReadOnlyList<string>)
External-content tables need triggers; FTS5 does not observe the content table itself.
public static IReadOnlyList<string> BuildSyncTriggerSql(string ftsTable, string contentTable, IReadOnlyList<string> columns)
Parameters
ftsTablestringcontentTablestringcolumnsIReadOnlyList<string>
Returns
BuildSyncTriggerSql(string, string, IReadOnlyList<string>, string)
Sync triggers for an external-content table whose rowid alias is named
contentRowId rather than rowid.
public static IReadOnlyList<string> BuildSyncTriggerSql(string ftsTable, string contentTable, IReadOnlyList<string> columns, string contentRowId)
Parameters
ftsTablestringcontentTablestringcolumnsIReadOnlyList<string>contentRowIdstring