Apparatus, method and storage medium for database query
An apparatus, method and storage medium for database query: determine that a syntax tree corresponding to an SQL query statement includes a preset subtree indicating a query mode for querying vector data; determine a query mode according to the preset subtree and the SQL statement; query data in a database based on the query mode. Enables efficient approximate vector query from SQL instead of an API.