0

Using SurrealDB. is there a way that I can get the total amount of records for a query, like you would do in traditional SQL databases?

select count(*) from person
TuinBoy
  • 185
  • 1
  • 9

1 Answers1

1

Yes, it would be

SELECT count() FROM person GROUP BY count

See more here: https://surrealdb.com/docs/surrealql/functions/count

naisofly
  • 104
  • 1
  • 4