Introduction Installation Projects Tables Inserts Searches Updates Deletes CLI Production Installation Conclusion

Deletes - Flaarum Tutorials

Deleting row(s) in Flaarum takes a search statement as detailed in the searches tutorial. One can delete more than one row at a time.

Sample Code

cl := flaarum.NewClient("127.0.0.1", "not-yet-ready", "first_proj")

err := cl.DeleteRows(`
table: user_roles
where:
	userid = 32
	and roleid = 14
`,)

if err != nil {
	panic(err)
}
		
< Previous Next >