You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already very minimal support: tags and links are exposed as columns of type set and there are the IN and NOT IN operators. This needs to be expanded to at least include the ANY() and ALL() operators. This most likely needs support from the parser.
The type system needs to be expanded to take into consideration the type of the elements of a set or array. It makes sense to enforce that all the elements of a set or array have the same type. Use a syntax similar to the Postgresql one: type[] to indicate an array of element of type type. Maybe it is not necessary to distinguish between sets and arrays at the type system level. However, Python sets are not indexable.
Once this is done, the other_accounts in the postings table can be replaced by adding an accounts str[] fields to the entry type and usage of other_accounts can be replaced with entry.accounts.
The text was updated successfully, but these errors were encountered:
There is already very minimal support: tags and links are exposed as columns of type
set
and there are theIN
andNOT IN
operators. This needs to be expanded to at least include theANY()
andALL()
operators. This most likely needs support from the parser.The type system needs to be expanded to take into consideration the type of the elements of a set or array. It makes sense to enforce that all the elements of a set or array have the same type. Use a syntax similar to the Postgresql one:
type[]
to indicate an array of element of typetype
. Maybe it is not necessary to distinguish between sets and arrays at the type system level. However, Python sets are not indexable.Once this is done, the
other_accounts
in thepostings
table can be replaced by adding anaccounts str[]
fields to theentry
type and usage ofother_accounts
can be replaced withentry.accounts
.The text was updated successfully, but these errors were encountered: