3 ms·
I'm reading the test results and had a question. >> Cloud Spanner doesn't, however, support data manipulation language (DML) statements. DML includes SQL queri
by aamederen 10y ago
I'm reading the test results and had a question.
>> Cloud Spanner doesn't, however, support data manipulation language (DML) statements. DML includes SQL queries like INSERT and UPDATE. Instead, Spanner's interface definition includes RPCs for mutating rows given their primary key[21].
Does this mean I need to rewrite my application?
My application uses an ORM and it typically converts my logic to SQL statements and fires them off to Postgres. Would I need to change it such that it doesn't issue INSERT / UPDATE statements?
- knz42 10y agoyes.
- parasubvert 10y agoNo, though it does imply you would need to write adapter code to have your ORM call the equivalent stored procedures for inserts or deletes. Most ORMs can do this to varying degrees.