ydb-platform / ydb-php-sdk

Apache License 2.0
26 stars 15 forks source link

dev: fix default scan query mode (remove from codegen file $mode = 3 to source file) #133

Closed asmyasnikov closed 8 months ago

asmyasnikov commented 8 months ago

This PR https://github.com/ydb-platform/ydb-php-sdk/pull/131 merged with tech debt Changing of codegen files is not right, need to fix in source file

ilyakharev commented 8 months ago

Разве в proto3 можно установить значение по умолчанию?

asmyasnikov commented 8 months ago

Разве в proto3 можно установить значение по умолчанию?

В proto нельзя, но можно в коде, где конструируется ScanRequest создавать объект с правильным значением.