[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class DistanceStrategy (0.14.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.1 (latest)](/python/docs/reference/langchain-google-cloud-sql-pg/latest/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.14.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.14.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.13.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.13.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.12.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.12.1/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.11.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.11.1/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.10.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.10.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.9.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.9.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.8.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.8.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.7.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.7.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.6.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.6.1/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.5.0](/python/docs/reference/langchain-google-cloud-sql-pg/0.5.0/langchain_google_cloud_sql_pg.indexes.DistanceStrategy)\n- [0.4.1](/python/docs/reference/langchain-google-cloud-sql-pg/0.4.1/langchain_google_cloud_sql_pg.indexes.DistanceStrategy) \n\n DistanceStrategy(value)\n\nEnumerator of the Distance strategies.\n\nMethods\n-------\n\n### _generate_next_value_\n\n _generate_next_value_(start, count, last_values)\n\nGenerate the next value when not given.\n\nname: the name of the member\nstart: the initial start value or None\ncount: the number of existing members\nlast_value: the last value assigned or None"]]