boodkb

Results comments of boodkb

Defining multiple methods for the same URL is supported by Crow. `CROW_ROUTE(app, "/foo") .methods("POST"_method, "PUT"_method) (...)`

If I use a composite primary key, the table is always recreated while syncing the schema. At line 6037 impl->schema_status always returns "sync_schema_result::dropped_and_recreated". ``` template sync_schema_result sync_table(storage_impl *impl, sqlite3 *db,...

``` struct Record { int year; int month; int amount; }; auto storage = make_storage("test.db", make_table("records", make_column("year", &Record::year), make_column("month", &Record::month), make_column("amount", &Record::amount), primary_key(&Record::year, &Record::month))); storage.sync_schema(); ```