Skip to content

Commit fd8da1a

Browse files
committed
Remove redundant vectorFieldName parameter from MariaDB example
The 'embedding' value is the default for vectorFieldName parameter, so it can be omitted to simplify the example code.
1 parent f612478 commit fd8da1a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/memory/mariadb.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
connection: DriverManager::getConnection((new DsnParser())->parse($_ENV['MARIADB_URI'])),
3535
tableName: 'my_table_memory',
3636
indexName: 'my_index',
37-
vectorFieldName: 'embedding',
3837
);
3938

4039
// our data

0 commit comments

Comments
 (0)