FTS index table not have to be qualified by data source alias in query
Description
For function match(), the first argument refers to the FTS index table. Syntactically, it appears as a property path. The leading part may be the alias of a data source. It is required if there multiple data sources. In Lithium, it is necessary for join, but for FTS match, it is unnecessary because we only need to know what database table this index is associated with, and, in Lithium, there is only one table.
Therefore we can have it to be optional: if not prepended by alias, we use the default alias.
Activity
Show:
CB robot June 2, 2023 at 10:30 PM
Build couchbase-lite-net-3.0.12-2 contains couchbase-lite-core commit 696e95e with commit message: : FTS index table not have to be qualified by data source alias in query (#1763)
CB robot June 2, 2023 at 8:25 AM
Build couchbase-lite-ios-3.0.7-20 contains couchbase-lite-core commit 696e95e with commit message: : FTS index table not have to be qualified by data source alias in query (#1763)
CB robot June 1, 2023 at 8:56 PM
Build couchbase-lite-c-3.0.12-2 contains couchbase-lite-core commit 696e95e with commit message: : FTS index table not have to be qualified by data source alias in query (#1763)
CB robot May 2, 2023 at 6:48 PM
Build couchbase-lite-core-3.0.12-6 contains couchbase-lite-core commit 696e95e with commit message: : FTS index table not have to be qualified by data source alias in query (#1763)
Jianmin Zhao April 27, 2023 at 3:41 PM
PR is submitted and passed validation. I put the PR in draft mode, pending the repo to open for 3.0.x
Fixed
Pinned fields
Click on the next to a field label to start pinning.
For function match(), the first argument refers to the FTS index table. Syntactically, it appears as a property path. The leading part may be the alias of a data source. It is required if there multiple data sources. In Lithium, it is necessary for join, but for FTS match, it is unnecessary because we only need to know what database table this index is associated with, and, in Lithium, there is only one table.
Therefore we can have it to be optional: if not prepended by alias, we use the default alias.