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
2023-07-16 04:03:03 +02:00
2021-06-16 14:21:34 +02:00
2022-07-03 11:01:14 +02:00
2023-02-26 22:19:46 +01:00
Description
C++ ORM and Query Builder for PostgreSQL.
2.5 MiB
Languages
C++ 98.5%
Shell 0.8%
C 0.4%
Makefile 0.3%