C++ ORM and Query Builder for PostgreSQL.
Go to file
Tomasz Sowa 21f12a8a98
add support for declared cursors
Declare a cursor with the Finder::declare_cursor() method and next get the cursor with get_cursor():
morm::Cursor<MyObject> cursor = finder.
  declare_cursor("mycursorname").
  select().
  raw("ORDER BY column_name ASC").
  get_cursor();

The cursor now can be used with fetch.*() methods and then get() or get_list():
MyObject myobject = cursor.fetch_next().get();
std::list<MyObject> myobjects = cursor.fetch_forward_count(10).get_list();
2023-07-16 04:03:03 +02:00
samples add a CSVConnector/CSVExpression classes to serialize to csv format 2023-04-12 17:20:29 +02:00
src add support for declared cursors 2023-07-16 04:03:03 +02:00
.editorconfig added .editorconfig file 2021-06-16 14:21:34 +02:00
.gitignore Added flag has_primary_key_set to Model 2021-03-09 18:10:34 +01:00
LICENSE add LICENSE file 2022-07-03 11:01:14 +02:00
Makefile improve the xml serializer 2023-02-26 22:19:46 +01:00